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

Christian Wygoda arsgeografica at googlemail.com
Sat Mar 10 13:59:48 EST 2012


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>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> 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
>
> _______________________________________________
> MapQuery mailing list
> MapQuery at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapquery
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapquery/attachments/20120310/2e8adab1/attachment.html


More information about the MapQuery mailing list