• Resolved sio2

    (@sio2)


    greetings support team!
    I have a kml of all the roads of an island and all the them have its respective name. I would like to be able to have access to those names so I can perform a search in the map. is that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hupe13

    (@hupe13)

    I was surprised myself when I tested it that it worked. I have to adapt the documentation:

    [leaflet-map fitbounds]
    [leaflet-kml src="https://your-domain.tld/path/to/file.kml"]{name}[/leaflet-kml]
    [leaflet-search propertyname=popupContent textPlaceholder="Some hint"]
    ...
    [zoomhomemap]

    propertyname=name works also. (or some other property instead of name). Like for geojson.

    Thread Starter sio2

    (@sio2)

    AWESOME MAN!!! you are more powerful than you know!
    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.