[OpenLayers-Users] unable to add geometries to geometry collection
rajjad at gmail.com
Wed Jul 14 03:35:21 EDT 2010
I`m tying to add a Geometry Collection which consists of a line
feautre and a point, the point is a arrow head to be place at the end
of line, however It seems the constructor is not taking a geometry
object, which seems to be adding to a simple vector layer, I tried the
code in FireBug, but it shows undefined. this is how I`m trying to do.
pointList is an array of OpenLayer points and works if the line string
is added to a feature.vector object,
pointList.toString() returns "POINT(73.13187817700006
var gc = new OpenLayers.Geometry.Collection([new
what am i doing wrong here.
More information about the Users