• Resolved z0zel123

    (@z0zel123)


    Are we able to set individual data for the popup from the geojson file, im not able to figure that out for example images, text, etc

    • This topic was modified 2 years, 2 months ago by z0zel123.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hupe13

    (@hupe13)

    For options see here: https://github.com/bozdoz/wp-plugin-leaflet-map#leaflet-geojson-options
    The relevant for you may be:

    Also, if you want to add feature properties to the popups, use the inner content and curly brackets to substitute the values: [leaflet-geojson]Field A = {field_a}[/leaflet-geojson].

    You can also write for example:
    [leaflet-geojson]{name}[/leaflet-geojson]

    If you give me an URL to the website or to the geojson file, I can help more.

    Thread Starter z0zel123

    (@z0zel123)

    Just checked the link, did a test seems to work like a charm this is awesome! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Geojson Popup’ is closed to new replies.