[OpenLayers-Dev] zindex of vertices in ModifyFeature control
Paul Spencer
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.
Cheers
Paul
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?
>
> Cheers
>
> Paul
>
> On 21-Aug-09, at 5:53 PM, Paul Spencer wrote:
>
>> Hi,
>>
>> 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?
>>
>> Cheers
>>
>> Paul
>>
>> __________________________________________
>>
>> Paul Spencer
>> Chief Technology Officer
>> DM Solutions Group Inc
>> http://research.dmsolutions.ca/
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>
>
> __________________________________________
>
> Paul Spencer
> Chief Technology Officer
> DM Solutions Group Inc
> http://research.dmsolutions.ca/
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://research.dmsolutions.ca/
More information about the Dev
mailing list