openlayers/openlayers — pull request #751 by temporaryaccount (2012-11-08 12:23:00+00:00)
Title: Use the virtualStyle when creating the Origin and Radius geometries in the ModifyFeature Control

Suppose we have a vector layer with applied style, and there is a 'label' added in the style (i.e. label: "${label}"). When we want to modify a feature in that layer using the ModifyFeature control with OpenLayers.Control.ModifyFeature.DRAG | OpenLayers.Control.ModifyFeature.RESIZE mode, the created small "virtual" vectors (which are being used as handlers for moving/resizing the original vectors) show "undefined" as their label because they use the default style of the vector layer which is not very good. I've patched the control to use the virtualStyle (which is being used for the"virtual" vertices).