[MapQuery] Make it possible to add event listeners to the map options?

Volker Mische volker.mische at gmail.com
Thu Mar 8 09:22:11 EST 2012


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> 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
> http://lists.osgeo.org/mailman/listinfo/mapquery



More information about the MapQuery mailing list