[OpenLayers-Dev] zindex of vertices in ModifyFeature control
pspencer at dmsolutions.ca
Fri Aug 21 18:03:47 EDT 2009
Talking to myself again, this was only a partial fix as only the
virtual vertices (doh) are affected - the real vertices are still
below my polygon. I *think* this may be because of how I am using a
style map with a context. Will investigate further.
On 21-Aug-09, at 6:00 PM, Paul Spencer wrote:
> And of course I found the answer directly after my question, I can set
> modifyControl.virtualStyle.graphicZIndex = 10 to put the virtual
> points above my features.
> Is this a bug in the modify control, i.e. should it check the
> graphicZIndex of the selected feature and adjust the virtualStyle
> accordingly so the edit controls appear on top?
> On 21-Aug-09, at 5:53 PM, Paul Spencer wrote:
>> I'm using the ModifyFeature control and have an issue where the small
>> circles that are used to modify a polygon or line are 'under' the
>> feature itself which results in parts of the circles not being
>> available for click/drag.
>> I am using a custom style map for my features which is used for
>> default and selected styles. The style defines a graphicZIndex for
>> points of 8, for lines 4 and for polygons 2 which I thought might put
>> the editing points on top.
>> Any ideas?
>> Paul Spencer
>> Chief Technology Officer
>> DM Solutions Group Inc
>> Dev mailing list
>> Dev at openlayers.org
> Paul Spencer
> Chief Technology Officer
> DM Solutions Group Inc
> Dev mailing list
> Dev at openlayers.org
Chief Technology Officer
DM Solutions Group Inc
More information about the Dev