Skip to content

Commit 0504bf9

Browse files
committed
Fix ZoomableTileMap data.geojson
1 parent 4ca814f commit 0504bf9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

packages/layerchart/src/routes/docs/examples/ZoomableTileMap/+page.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import pageSource from './+page.svelte?raw';
22

3-
export async function load() {
3+
export async function load({ fetch }) {
44
return {
5+
geojson: (await fetch('https://cdn.jsdelivr.net/npm/us-atlas@3/counties-10m.json')).json(),
56
meta: {
67
pageSource,
78
},

0 commit comments

Comments
 (0)