I have a GetFeatureInfo control which I declare then in myfeature.events.on I
code the event. My question is I am trying to use this same control again
but with a different layer this time so I modify the events.on by redefining
it.. however it is still firing the first events.on. So do I have to
unregister the first event.. and if so how to do that.. is it simply
following the events object listed here -
http://dev.openlayers.org/docs/files/OpenLayers/Events-js.html
and using myfeature.unregister(myfeature.events.on) .. or how ? Appreciate
any assistance.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Unregistering-an-event-for-wmsgetfeatureinfo-tp5950119p5950119.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users