AW: [OpenLayers-Users] style ModifyFeature

Arnd Wippermann arnd.wippermann at web.de
Fri Nov 25 11:25:38 EST 2011


Hi,

Perhaps to set the virtualStyle for the ModifyFeatureControl

http://www.osgeo.org/pipermail/openlayers-users/2008-December/009358.html

Arnd
 

-----Ursprüngliche Nachricht-----
Von: Jim White [mailto:jbw2003 at earthlink.net] 
Gesendet: Freitag, 25. November 2011 03:42
An: Arnd Wippermann
Cc: users at openlayers.org
Betreff: Re: AW: [OpenLayers-Users] style ModifyFeature

I was able to get a change by editing collectDragHandle

var origin = new OpenLayers.Feature.Vector(originGeometry,
null,OpenLayers.Feature.Vector.style['select']);

The undefined is gone, and the styling is different, but it doesn't seem to
be the select in my stylemap.

Jim



On 11/24/2011 01:50 PM, Arnd Wippermann wrote:
> Hi,
>
> Perhaps that helps
>
> http://osgeo-org.1803224.n2.nabble.com/undefined-at-vertices-while-edi
> ting-v
> ector-layer-td5478330.html
>
> Arnd
>
> -----Ursprüngliche Nachricht-----
> Von: openlayers-users-bounces at lists.osgeo.org
> [mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Jim 
> White
> Gesendet: Mittwoch, 23. November 2011 21:52
> An: openlayers-users at lists.osgeo.org
> Betreff: [OpenLayers-Users] style ModifyFeature
>
> I use ModifyFeature to move a linestring. The move handle is a green 
> dot in the center with the text undefined. How do you style this, esp. 
> to get rid of the label 'undefined'?
>
> Jim White
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>



More information about the Users mailing list