AW: [OpenLayers-Users] style ModifyFeature

Jim White jbw2003 at earthlink.net
Thu Nov 24 21:42:11 EST 2011


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-editing-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