I have successfully implemented this module with Leaflet and Leaflet Markercluster - works great! However, I can not figure out how to popup a balloon based on a hover event instead of click (or is this question better served in the Leaflet queue?). A little guidance in the right direction would be very appreciated. Thanks.

Comments

RdeBoer’s picture

Hi narkoff,
Glad the trinity of IPGV&M and Leaflet and Leaflet Markercluster works for you.

I am not sure about the existence of a "marker balloon popup on hover" feature. Does it even exist in the underlying Leaflet Javascript?
Yes you could ask in the Leaflet module issue queue as well.

Rik

narkoff’s picture

Thanks for the quick response. I had a feeling this was a Leaflet question. I searched for an onClick event but could not find one. For cross-reference: Leaflet issue.

Thanks again.

RdeBoer’s picture

I guess the underlying question is: is something available here http://leafletjs.com/reference.html that can be brought to the surface in the Drupal module?

narkoff’s picture

Thanks for the reference. It looks like there is a mouse event for markers. I'll circle back with what I figure out.

RdeBoer’s picture

Status: Active » Closed (works as designed)
narkoff’s picture

Triggering the pop-up based on hovering over associated content, and highlighting the content based on hovering over the associated marker is exactly what I was trying to accomplish. Unfortunately, with my limited development skills, I was never able to get it to work. The enhancement referenced above directly addresses this. Thank you!

RdeBoer’s picture

@narkoff, #6

Much appreciated. You're welcome.
It is something I've been wanting to do myself for a long time.