Hi all,

hard to figure out where this belongs to... let me explain:

Given information:
1st: I have a Leaflet map which shows points and a path. The positions of the points and the path have been uploaded through Geofield and Geocoder as KML files (it's a very complex path, generating it in Drupal or using the WKT field seems like a bad option, as not all of those locations will have a reference in my content).
2nd: If you check the markup of a KML file it shows a title and description for each location.

Now to the question:
How would you pass on the information from the KLM file to the popup in Leaflet, so that clicking the marker would show the location information stored in the KML file for each marker (such as title and description)?

Any help, suggestions and ideas are warmly welcome. Thanks

As this problem involves different modules [Geofield, Geocoder, Leaflet, Views, etc...] I'd like to kindly ask the mods to sort this request under the correct category. Thanks

Comments

saratt’s picture

Hi Pierrere, I am trying to implement the same, did you find a solution on how to get the description, title(from the KML file) in the popup.

Thanks.

Pierrere’s picture

No st455, no success so far...

dalearyous’s picture

Issue summary: View changes

it would be great if the geocode module to grab the marker info and map it to another field that way you could pull it via token