[OpenLayers-Trac] [OpenLayers] #3528: GML.js modification to treat
properly generic tag names
OpenLayers
trac-20090302 at openlayers.org
Wed Sep 28 04:44:12 EDT 2011
#3528: GML.js modification to treat properly generic tag names
---------------------+------------------------------------------------------
Reporter: docg | Owner:
Type: feature | Status: new
Priority: minor | Milestone:
Component: general | Version: 2.11
Keywords: | State:
---------------------+------------------------------------------------------
The GML.js parse the gml received.
In the gml file, tags can have a generic form,
<Layer Name=mylayername>
<Attribute Name=myfirstattributename>thecontent1</Attribute>
<Attribute Name=mysecndattributename>thecontent2</Attribute>
</Layer>
Currently, the code takes the name of the tag as the layer name and
attributes names.
I propose in the attached file a modification, that conserve the current
behaviour, except it will test for Layer name 'Layer' and replace it by
the content of the attribute Name. The same behaviour is applied for the
Attribute tag.
--
Ticket URL: <http://trac.openlayers.org/ticket/3528>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list