/svelte-leaflet-ts

Svelte component for leaflet. Plus typescript.

Primary LanguageSvelteMIT LicenseMIT

GitHub npm GitHub tag (latest by date) GitHub Workflow Status

svelte-leaflet

Svelte component for leaflet

Documentation & Demo

Sample project

Breaking changes

v0.10.0

  • GeoJSON
    • Removed dependency on axios.
    • The url property is removed. This is replaced by data.

Component support

  • Map

UI layers:

  • Marker
  • Popup
  • Tooltip

Raster layers:

  • TileLayer
  • TileLayer.WMS
  • ImageOverlay
  • VideoOverlay

Vector layers:

  • Polyline
  • Polygon
  • Rectangle
  • Circle
  • CircleMarker
  • SVGOverlay

Other layers:

  • LayerGroup
  • FeatureGroup
  • GeoJSON

Basic types:

  • Icon
  • DivIcon

Controls:

  • Zoom
  • Attribution
  • Layers
  • Scale