[OpenLayers-Users] FW: SelectFeatureControl invalid when set style to vector?

Roald de Wit roald.dewit at lisasoft.com
Thu Apr 30 01:25:42 EDT 2009


shane_china wrote:
> And, I read your code, there is another problem. Could vectors in the same
> layer have different styles?
> I have two or more kinds of point in one layer, I want them to show
> different, could it possible?
>
Yes, have a look at how styling works in OpenLayers:
http://docs.openlayers.org/library/feature_styling.html

Regards, Roald

--
Roald de Wit
Software Engineer
roald.dewit at lisasoft.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/



The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.



More information about the Users mailing list