[OpenLayers-Users] ModifyFeatureControl - vertices styling

2009-12-16 Thread Alexandre Dube
Hi, Is there a simple way (without changing the code) to have a specific style for the vertices when modifying a feature with the ModifyFeatureControl ? There's such a possibility for the virtualVertices already, but doesn't seem to have any for the normal ones : they always have the

Re: [OpenLayers-Users] ModifyFeatureControl - vertices styling

2009-12-16 Thread soatley
I just went through this myself. In my case, I was already taking advantage of using vector styling context (similar to this example: http://www.openlayers.org/dev/examples/styles-context.html http://www.openlayers.org/dev/examples/styles-context.html ) I found that the points that are used

Re: [OpenLayers-Users] ModifyFeatureControl - vertices styling

2009-12-16 Thread Alexandre Dube
soatley wrote: That is the code that styles all my vectors. Depending on the vector type, I style it differently. You can see how in the getVectorType it checks to see if _sketch is not undefined (meaning it is assigned) and if so, it must be a modify vertex. Hope that helps! Yep,