[OpenLayers-Dev] Layer.Vector.geometryType, how is it working ?
Alexandre Dube
adube at mapgears.com
Fri Feb 18 10:43:52 EST 2011
Hi,
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
respected.
Shouldn't this be an array instead ?
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Dev
mailing list