[OpenLayers-Trac] Re: [OpenLayers] #2240:
OpenLayers.Format.WKT.write() function does
not handles OpenLayers.Geometry.Collection
OpenLayers
trac-20090302 at openlayers.org
Thu Dec 16 14:33:09 EST 2010
#2240: OpenLayers.Format.WKT.write() function does not handles
OpenLayers.Geometry.Collection
------------------------------------------------------+---------------------
Reporter: taviroquai | Owner: tschaub
Type: feature | Status: new
Priority: major | Milestone: 2.11 Release
Component: Format.WKT | Version: 2.8
Keywords: format, wkt, write, geometry, collection | State: Needs More Work
------------------------------------------------------+---------------------
Changes (by tschaub):
* state: Review => Needs More Work
Comment:
I agree with strk that we need to keep backwards compatibility in reading
GEOMETRYCOLLECTION. To make it clear what currently happens, see r10972.
I think it makes sense to add an option to return either a single feature
with an OpenLayers.Geometry.Collection geometry or an array of features.
The default should be an array of features.
--
Ticket URL: <http://trac.openlayers.org/ticket/2240#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list