[OpenLayers-Dev] [OL 3] map events

Eric Lemoine eric.lemoine at camptocamp.com
Fri Jun 25 01:24:08 EDT 2010


Hi

Thanks Bart for the summary about the 3.0 IRC meeting.

With this thread I'd like to start discussions on "map events", the
first item in the list sent by Bart.

So, IIRC, being able to do map.on({"click": foo}) was mentioned
yesterday during the IRC meeting.

What changes does this imply? The removal of the click handler? Or
maybe we'll have the map delegate click handling to a click handler?
Will controls no longer create and use handlers, and directly register
listeners on map events instead?

In 2.x we have a problem because the activation order of
control/handlers matters, and we sometimes have to do things like
control.handlers.foo.stopDown = false, which we don't want. And
actually I'm still failing to see how we're going to address that with
"map events", as our handlers are already relying on map events today.

Thanks for any insight,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Dev mailing list