cutting-room-floor / markers.js

DEPRECATED: USE MAPBOX.JS
http://mapbox.com/mapbox.js
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Multiple Marker Layers And Hover based tooltips #35

Closed kinski76 closed 11 years ago

kinski76 commented 11 years ago

Hi

More of a question this....

I am trying to have two marker layers on my map to display different content types.

My first marker layer is loaded in straight away. My second is loaded when a user zooms in on a region.

I am using css hover selectors to control the reveal of a tool tip.

What I have noticed is that when the second layer is loaded in the interaction with the first layers marker is lost. I.e the hover does not seem to work anymore. Is this expected behavior and I am approaching this incorrectly?

cheers

ade

tmcw commented 11 years ago

This is fixed in 0.5.3; all custom factory functions now need to set pointer-events: all but the default factory sets it.