[OpenLayers-Users] Register multiple map layers for same event... how???

Eric Lemoine eric.lemoine at camptocamp.com
Wed Oct 28 14:21:57 EDT 2009


On Thursday, October 22, 2009, plen <peteralen at earthlink.net> wrote:
>
> Hello,
>
> OpenLayers v2.7 or v2.8 added the capability that would allow multiple map
> layers to listen for the same event, such as a mouseclick or mouseover.  I
> cannot find an example of how this is done.  Does anyone know?

the SelectFeature control can now be configured with multiple layers.
Search for "SelectFeature" in the examples.

Cheers,

-- 
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 Users mailing list