[OpenLayers-Dev] Layer.Vector.geometryType, how is it working ?
adube at mapgears.com
Fri Feb 18 10:43:52 EST 2011
I can't figure how the OpenLayers.Layer.Vector.geometryType property
is supposed to work properly. First, the APIProperty says it's supposed
to be a string but it's not. It should be set to
OpenLayers.Geometry.LineString rather than
"OpenLayers.Geometry.LineString". Then, how is it supposed to work with
the ModifyFeature control when it adds OpenLayers.Geometry.Point
features for the vertices ? It always complains that the type isn't
Shouldn't this be an array instead ?
More information about the Dev