Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ferda2

    (@ferda2)

    [leaflet-geojson src=”….”]<strong>Name:</strong> {name}<br>
    <strong>Description:</strong> {description}[/leaflet-geojson]

    Plugin Contributor hupe13

    (@hupe13)

    Of course it works. Is src valid, is the file loaded? Have the features a property “name” and a property “description”?

    Thread Starter ferda2

    (@ferda2)

    The original shortcode doesn’t work. New solution:

    [leaflet-geojson src=”…” popup_text=”<strong>Name:</strong> {name}<br>
    <strong>Description:</strong> {description}”]

    It works!

    Plugin Contributor hupe13

    (@hupe13)

    Fine if it works now. Here are all options for leaflet-geojson.

    But I only use the code like the one you wrote, and it works. So it would be interesting to know why it doesn’t work for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Popup info from geojson – HTML not working’ is closed to new replies.