Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 542 Bytes

File metadata and controls

10 lines (9 loc) · 542 Bytes

Current setup.

  1. Export GeoJSON from atlas
  2. Convert the GeoJSON to MVT static files: ogr2ogr -f MVT outdir in.geojson -dsco MINZOOM=0 -dsco MAXZOOM=10 -dsco COMPRESS=NO
  1. Get the outdir into the src/public folder and adjust main.js for the name of the folder.
  2. npm run build to create the JS bundle
  3. npm run dev to server the application locally