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

Xavier Rayo ivaxoyar at hotmail.com
Fri Sep 21 08:00:39 EDT 2007


Hi all!
continuing with this question, is there any way to select a marker from a text layer with selectFeature hover. I've seen examples with polygons and one of metacarta with markers, but i couldn't see the code. Can someone send me the correct code or tell me where can i find it?
thanks,
xavi



> Date: Thu, 20 Sep 2007 20:41:15 -0400> To: lfsilva at cps.pst.com.br> From: crschmidt at metacarta.com> CC: users at openlayers.org> Subject: Re: [OpenLayers-Users] Whole Polygon as a Marker. Is it possible ?> > On Thu, Sep 20, 2007 at 06:03:36PM -0300, Luis F Silva wrote:> > Hi all> > > > We have a map with , let's say , 23 states of a country.> > We want to be able to select individual ones by clicking over any position > > of the state polygon.> > Is it possible or do we have to use (only) an icon for that ?> > With the SelectFeature control, you can draw any polygon vector you want> and allow users to click it. There are several examples in the examples> directory.> > http://openlayers.org/dev/examples/select-feature.html> > Regards,> -- > Christopher Schmidt> MetaCarta> _______________________________________________> Users mailing list> Users at openlayers.org> http://openlayers.org/mailman/listinfo/users
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070921/e47ddea3/attachment.html


More information about the Users mailing list