I have several points on a layer and all might have different styles associated with them. So I'm doing
VectorFeature pointFeature = new VectorFeature(point,pointStyle)
It all works fine until I do the select(i.e. click the point). When I do a select, the points are not highlighting. The point highlighlights if I remove the pointStyle from the VectorFeature
, i.e.,
VectorFeature pointFeature = new VectorFeature(point)
I tried using StyleMap
on the layer but ended up getting the same result.
What could possibly be the solution to this problem?