1.0.5 • Published 4 years ago
create-svelte-deckgl-pwa-template v1.0.5
Svelte Deckgl/OpenLayers/Leaflet PWA Template
Template for creating svelte based geospatial progressive web apps.
Installation
Download, install dependencies and run application:
npx create-svelte-deckgl-pwa-template my-web-gisRun/Rerun
npm run devConfig
Change the behavior of the application in src/config.js or directly in the source code src/**.
default
DEFAULT_GEOJSON: Location to the default displayed geoJson (Points) Example Filedocs/data/verbiss_2021.geojsonFRAMEWORK::deckgl,leafletoropenlayers
deckGlConfig
GEOJSON_PROPERTY_NAME: Name of the geojson property to be displayed.GEOJSON_PROPERTY_NAME_READABLE: Readable name of the property shown in the tooltip.GEOJSON_PROPERTY_UNIT: Unit of the property shown in the tooltip.DEFAULT_HEXAGON_RADIUS: Radius of the aggregating hexagons shown on the map.TILE_SERVER: The tile server to be used as a basemap.