Tag Info

New answers tagged


I believe you are on the right path. The stumbling block that you are facing is that you can have only one event handler. You need two functions. One function adds your layers as you intend. You need another function to register an event handler for each layer. In OpenLayers there is a setup for one event. That's what you are using. You need to use the ...

Top 50 recent answers are included