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

Luis F Silva lfsilva at cps.pst.com.br
Fri Sep 21 07:54:39 EDT 2007


Thanks for your help Christopher.

Best Regards

Fernando.







Christopher Schmidt <crschmidt at metacarta.com> 
20/09/2007 21:41

To
Luis F Silva <lfsilva at cps.pst.com.br>
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

*************************************************************************
Esta mensagem, incluindo os seus anexos, contém informações confidenciais 
destinadas a indivíduo e propósito específicos, e é protegida por lei. 
Caso você não seja o citado indivíduo, deve apagar esta mensagem. É 
terminantemente proibida a utilização, acesso, cópia ou divulgação não 
autorizada das informações presentes nesta mensagem.  As informações 
contidas nesta mensagem e em seus anexos são de responsabilidade de seu 
autor, não representando idéias, opiniões, pensamentos ou qualquer forma 
de posicionamento por parte da PST Indústria  Eletrônica da Amazônia Ltda. 


The information contained in this communication is confidential, is law 
protected, and is intended only for the business use of the addressee. If 
you have received this communication in error, please immediately delete 
it. It's forbidden the unauthorized use, access, copy or disclose of the 
information contained in this communication.  The content of this message 
is responsibility of the author, and does not represent ideas, opinions, 
thoughts or any kind of statement of PST Indústria  Eletrônica da Amazônia 
Ltda.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070921/ca5ddbc5/attachment.html


More information about the Users mailing list