Parses GML version 2.
OpenLayers. | Parses GML version 2. |
Properties | |
schemaLocation | {String} Schema location for a particular minor version. |
Constructor | |
OpenLayers. | Create a parser for GML v2. |
Properties and Functions | |
readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. |
write | |
writers | As a compliment to the readers property, this structure contains public writing functions grouped by namespace alias and named like the node names they produce. |
Create a parser for GML v2.
options | {Object} An optional object whose properties will be set on this instance. |
featureType | {String} Local (without prefix) feature typeName (required). |
featureNS | {String} Feature namespace (required). |
geometryName | {String} Geometry element name. |
write: function( features )
features | {Array(OpenLayers.Feature.Vector) | OpenLayers.Feature.Vector} An array of features or a single feature. |
{String} Given an array of features, a doc with a gml:featureMembers element will be returned. Given a single feature, a doc with a gml:featureMember element will be returned.
write: function( features )