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.
www.websense.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to