- SvelteKit project with @sveltejs/adapter-static (runs fully static) - scripts/osm-data.mjs: pulls OSM data from Overpass API and converts to static GeoJSON under static/data/ with per-area manifest - Leaflet map frontend that loads the static data and renders features with popups and area selection dropdown - npm run build fetches data then produces a self-contained static site
14 lines
193 B
JSON
14 lines
193 B
JSON
[
|
|
{
|
|
"name": "tulsa",
|
|
"label": "Tulsa, Oklahoma",
|
|
"bbox": [
|
|
35.9,
|
|
-96.1,
|
|
36.3,
|
|
-95.7
|
|
],
|
|
"featureCount": 512,
|
|
"path": "/data/tulsa.geojson"
|
|
}
|
|
] |