create-svelte-deckgl-pwa-template

1.0.5 • Public • Published

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 File docs/data/verbiss_2021.geojson
  • FRAMEWORK:: deckgl, leaflet or openlayers

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.

Package Sidebar

Install

npm i create-svelte-deckgl-pwa-template

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

30.8 MB

Total Files

31

Last publish

Collaborators

  • gruenecho