[MapQuery] Make it possible to add event listeners to the map
volker.mische at gmail.com
Wed Mar 7 05:29:13 EST 2012
On 03/07/2012 10:20 AM, Christian Wygoda wrote:
> I am contemplating the idea of passing event listeners to the map options...
> Then one could pass a listener for the mqLayerAdd event plus layers in
> the map options.
> Does that sound reasonable?
I currently work on the event handling (every evening atm, hence I'm
I haven't yet thought much about, how much things we put into the map
options. But I think it would be nice, if it would be just JSON and not
server. It's not JSON only atm IIRC, but we might want to change it?
What is the reason to put it into the initialisation?
I think it's simpler and also more expressive if you do it with some
binds after the map was initialised. Rather than having one big
More information about the MapQuery