create-svelte-deckgl-pwa-template
v1.0.5
Published
A template for creating svelte based geospatial progressive web apps.
Downloads
3
Maintainers
Readme
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-gis
Run/Rerun
npm run dev
Config
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.geojson
FRAMEWORK:
:deckgl
,leaflet
oropenlayers
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.