s-boun...@openlayers.org]
> On Behalf Of shane_china
> Sent: Wednesday, April 29, 2009 2:38 PM
> To: users@openlayers.org
> Subject: Re: [OpenLayers-Users] SelectFeatureControl invalid when set
> style to vector?
>
>
> here is the detail code
>
> When I construct
09 2:38 PM
To: users@openlayers.org
Subject: Re: [OpenLayers-Users] SelectFeatureControl invalid when set
style to vector?
here is the detail code
When I construct vecotr like this: var vector = new
OpenLayers.Feature.Vector(point);
select feature control works well. When the vector was selec
here is the detail code
When I construct vecotr like this: var vector = new
OpenLayers.Feature.Vector(point);
select feature control works well. When the vector was selected, color
changed.
But when I construct vector like this :
var layer_style = OpenLayers.Util.extend({},
OpenLayers.Feature.V
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
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