[OpenLayers-Users] Whole Polygon as a Marker. Is it possible ?

Stephen Woodbridge woodbri at swoodbridge.com
Fri Sep 21 15:14:48 EDT 2007


Eric Lemoine wrote:
> 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.

Also can't you do this with a WFS layer?

-Steve



More information about the Users mailing list