Skip to content

Commit

Permalink
[GeoPoint] Add doc page
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Feb 13, 2024
1 parent 01a9eab commit f22f35d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layerchart/src/routes/_NavMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'Threshold',
],
Interactions: ['Tooltip', 'TooltipContext', 'Highlight', 'Zoom'],
Geo: ['GeoContext', 'GeoPath', 'GeoPoint', 'GeoTile', 'Graticule', 'TileImage'],
Geo: ['GeoContext', 'GeoCircle', 'GeoPath', 'GeoPoint', 'GeoTile', 'Graticule', 'TileImage'],
Hierarchy: ['Pack', 'Partition', 'Sankey'],
Clipping: ['ClipPath', 'ChartClipPath', 'CircleClipPath', 'RectClipPath'],
Other: ['Blur', 'Bounds', 'ColorRamp', 'LinearGradient', 'MotionPath', 'Pattern'],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<script lang="ts">
import Chart, { Svg } from '$lib/components/Chart.svelte';
import Preview from '$lib/docs/Preview.svelte';
</script>
14 changes: 14 additions & 0 deletions packages/layerchart/src/routes/docs/components/GeoCircle/+page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import api from '$lib/components/GeoCircle.svelte?raw&sveld';
import source from '$lib/components/GeoCircle.svelte?raw';
import pageSource from './+page.svelte?raw';

export async function load() {
return {
meta: {
api,
source,
pageSource,
related: ['examples/Timezones'],
},
};
}

0 comments on commit f22f35d

Please sign in to comment.