[OpenLayers-Users] Issue with Mouse Events

Mulone mulone at rome.com
Tue Feb 16 12:14:13 EST 2010


Hi all,
I'm trying to catch and log several events from OpenLayers.
I bound some listeners with:

	openLayersMap.events.register(
		eventType, 
		openLayersMap, myHandler(e)
	);

where eventType is mousemove, mouseup and mousedown.
Mousemove and Mouseup are handled perfectly, but no chance to get a
mousedown.

So I have 2 questions for you:

1) Why is the mousedown not working? Do I need to set some options?
2) How can I get the current boundaries of the map (e.g. the latlon of
top-left and bottom-right corners)?

Thanks for any hints!
Mulone



-----
Mulone
PhD student
-- 
View this message in context: http://n2.nabble.com/Issue-with-Mouse-Events-tp4581475p4581475.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list