[OpenLayers-Users] mouse events on vector and marker layers?

Daniel Kastl orkney at gmx.de
Tue Jun 2 20:21:16 EDT 2009


Wendell Turner schrieb:
> I would like to get mouse events on multiple kinds of
> layers, or more specifically, on some Vector layers and a
> Marker layer.  I can get events on Vector layers, or a
> Marker layer, but not both.  I'm using svn from a few days
> ago.
>   
Is there a strong reason not to use a "point" vector layer instead of 
your marker layer?
You can then set "externalGraphic" to get the same icon as your marker 
layer has.
Two vector layers should work then, I suppose.

Daniel





More information about the Users mailing list