You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to change the color of the text of a marker on mouse over, but with no luck. map.getCanvas().style.cursor = 'pointer' works well for cursor changing, but is there a way to change text color ?
Hi,
I'm trying to change the color of the text of a marker on mouse over, but with no luck. map.getCanvas().style.cursor = 'pointer' works well for cursor changing, but is there a way to change text color ?
I tried with map.setFilter("pois_hover", ["==", "name", features[0].properties.name]); but the text below the original text is "buggy". See http://osm.phiphou.org/vector-interactive#20/48.76276/2.67216
I want to keep the underneath layer in order to have a good text colision behaviour.
Sorry for my bad english.
Thanks
The text was updated successfully, but these errors were encountered: