Hi,
 
that should help:
http://osgeo-org.1803224.n2.nabble.com/undefined-at-vertices-while-editing-v
ector-layer-td5478330.html
 
Arnd

 
  _____  

Von: [email protected]
[mailto:[email protected]] Im Auftrag von Robert
Sanson
Gesendet: Mittwoch, 10. November 2010 00:58
An: [email protected]
Betreff: [OpenLayers-Users] ModifyFeature control - how to turn
offlabelling?


Hi
 
I have a Vector POLYGON layer loaded from a WKT. The layer's styleMap
includes a label based on one of the Attributes. I have a ModifyFeature
control added to the layer. When I select a Polygon for editing, it labels
all of the vertices with "undefined". How can I turn this off?
 
My styleMap is:
 
var padd_style = new OpenLayers.StyleMap({"default": new OpenLayers.Style({
      "strokeWidth":3,
      "strokeColor":"#ff0000",
      "fillOpacity":0.25,
      "pointRadius":2,
      label : "${name}",
      fontColor: "blue",
      fontSize: 10,
      fontFamily: "Arial",
      fontWeight: "bold"})
  });
 
Many thanks,
 
Robert Sanson



This email and any attachments are confidential and intended solely for the
addressee(s). If you are not the intended recipient, please notify us
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted
Security.  <http://www.websense.com/> www.websense.com

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to