Tag Info

New answers tagged

0

The moveend event on the Map instance should do what you need: http://openlayers.org/en/v3.4.0/apidoc/ol.MapEvent.html?unstable=true#event:moveend


0

you can use global variables to keep track of the current layer and popup; then reset these when you click to move to a new layer highlight: // declare these in global scope, e.g. after setting highlightStyle // name these whatever you want, case doesn't matter var CURRENTLAYER, CURRENTPOPUP; layer.on("click", function (e) { // start by clearing the ...


0

an accepted answer should mean it is working and correct, so why isnt this working for me ? I did the same thing and nothing happens when I click on the map. I even tried this twice, first time, I created a class that inheret Basetool, nothing happens... and then I tried to create a class that implements Itool implemented the members. again run the tool no ...



Top 50 recent answers are included