tombatossals / angular-openlayers-directive

AngularJS directive to embed an interact with maps managed by the OpenLayers library
http://tombatossals.github.io/angular-openlayers-directive/
MIT License
282 stars 183 forks source link

label.showOnMouseOver doesn't always obey its value #381

Open liamlaverty opened 7 years ago

liamlaverty commented 7 years ago

This happens in the Markers Label Example (http://tombatossals.github.io/angular-openlayers-directive/examples/063-markers-properties-example.html) - and any application I've been building. See screenshot (in the screenshot I'm hovering over the Santiago marker, and both "show" attributes are set to false.

You can reproduce the error by unticking both of the the "label show" and "label show on marker mouseover", then ticking "Label show on marker", then hover over the marker once. Then enable "Label Show", then disable both. For some reason after the settings have been updated a couple of times it just always acts as if it's set to "showOnMouseOver":true, even when the property is set to false

image