cigar-factory / lektor-leaflet-geojson

Lektor template filter to convert geojson objects to Leaflet maps

Home Page:https://pypi.org/project/lektor-leaflet-geojson/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

popup for feature properties

chris48s opened this issue · comments

If a feature has fields in the properties object e.g:

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [125.6, 10.1]
  },
  "properties": {
    "name": "Dinagat Islands"
  }
}

the rendered map should have a popup including the feature properties (perhaps make this optional based on a param).