[OpenLayers-Users] Whole Polygon as a Marker. Is it possible ?
Eric Lemoine
eric.c2c at gmail.com
Fri Sep 21 14:47:33 EDT 2007
On 9/21/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Fri, Sep 21, 2007 at 12:00:39PM +0000, Xavier Rayo wrote:
> > Hi all!
> > continuing with this question, is there any way to select a marker from a text layer with selectFeature hover.
>
> No. You'll need to set up mouse events on each marker, the same way you
> register click events. The SelectFeature handler is for vectors only.
Xavier,
You can also use a vector layer with the externalGraphic property to
get markers. With that stuff, you can use the SelectFeature control
for markers. See
<http://www.openlayers.org/dev/examples/vector-features.html> for an
example on how to use externalGraphics.
--
Eric
More information about the Users
mailing list