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

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 29 08:04:17 EDT 2009


On Wed, Apr 29, 2009 at 04:11:30AM -0700, shane_china wrote:
> 
> I followed instructions here 
> http://openlayers.org/dev/examples/vector-features.html
> 
> Yes, my style successly applyed. But there is another problem. When I use
> selectFeature control to select these vectors, these vectors don't change
> color. 
> 
> How could I do this to show people the selected effect just like the
> default? Thank you for your answering. 

Share your code, tomake it easier. Likely, you need to chang the way
your styles are constructed, but you've given no information how they're
constructd for people to help you.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list