[OpenLayers-Users] add click event

Hermann h.spalting at lippe.de
Wed Oct 25 05:18:22 EDT 2006


I've added an click event t my map 

 map.events.register("click", map, function(e) {featureinfo(e);});

to call my featureinfo function that sends a featureinforequest.
That works fine so far.
My problem is, that  the funktion is also calld after dragging the map.
Haw can I handle that?
I dont want a botton to switch between query- and navigatemodus.
-- 
View this message in context: http://www.nabble.com/add-click-event-tf2506483.html#a6988690
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list