Skip to content

Commit dff393d

Browse files
committed
docs: Add Stereographic and Gnomonic projection examples
1 parent 433559f commit dff393d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • packages/layerchart/src/routes/docs/examples/GeoProjection

packages/layerchart/src/routes/docs/examples/GeoProjection/+page.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
geoMercator,
88
geoNaturalEarth1,
99
geoOrthographic,
10+
geoStereographic,
11+
geoGnomonic,
1012
} from 'd3-geo';
1113
import { feature } from 'topojson-client';
1214
@@ -37,6 +39,8 @@
3739
{ label: 'Mercator', value: geoMercator },
3840
{ label: 'Natural Earth', value: geoNaturalEarth1 },
3941
{ label: 'Orthographic', value: geoOrthographic },
42+
{ label: 'Stereographic', value: geoStereographic },
43+
{ label: 'Gnomonic', value: geoGnomonic },
4044
];
4145
4246
const dataGeoJson = $derived(config.detailed ? data.geojsonDetail : data.geojson);

0 commit comments

Comments
 (0)