[MapQuery] Make it possible to add event listeners to the map
options?
Steven M. Ottens
steven at minst.net
Mon Mar 12 05:21:50 EDT 2012
Hi all,
I'm +0.5 on the proposal, I use this approach in jQuery quite a lot.
Though I would recommend to wait for Volkers' work so that you don't get
conflicts.
Steven
Op 3/11/2012 3:16 PM, Volker Mische schreef:
> It means, that I'm neither for or against it. So if anyone implements
> it, I'm happy to accept a pull request.
>
> Though I suggest waiting a few more days, as the new event handling code
> is nearly done now :)
>
> See you in Dessau!
>
> Cheers,
> Volker
>
> On 03/10/2012 07:59 PM, Christian Wygoda wrote:
>> Volker,
>>
>> I'm note sure what exactly you mean: "I'd vote 0 for adding binds to the
>> map objects."
>> Can you clarify a little bit more?
>>
>> See you in Dessau at FOSSGIS?
>>
>> Cheers,
>> C
>>
>> On Thu, Mar 8, 2012 at 3:22 PM, Volker Mische<volker.mische at gmail.com
>> <mailto:volker.mische at gmail.com>> wrote:
>>
>> Hi Arnie,
>>
>> this thread was more about having the listeners directly added to the
>> options when a map initialised. Of course MapQuery will fire those
>> events, so you can keep things in sync.
>>
>> Cheers,
>> Volker
>>
>> On 03/08/2012 02:31 PM, Arnie Shore wrote:
>> > I want to be able to keep a sidebar in synch with icons display, so an
>> > add/remove-layer event looks like that would work well.
>> >
>> > On 3/8/12, Volker Mische<volker.mische at gmail.com
>> <mailto:volker.mische at gmail.com>> wrote:
>> >> Soon you will be able to add listeners as a hash:
>> >>
>> >> map.bind({
>> >> addlayer: function() {},
>> >> removelayer: function() {}
>> >> });
>> >>
>> > _______________________________________________
>> > MapQuery mailing list
>> > MapQuery at lists.osgeo.org<mailto:MapQuery at lists.osgeo.org>
>> > http://lists.osgeo.org/mailman/listinfo/mapquery
>>
>> _______________________________________________
>> MapQuery mailing list
>> MapQuery at lists.osgeo.org<mailto:MapQuery at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapquery
>>
>>
> _______________________________________________
> MapQuery mailing list
> MapQuery at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapquery
More information about the MapQuery
mailing list