Parses GML version 3.
OpenLayers. | Parses GML version 3. |
Properties | |
schemaLocation | {String} Schema location for a particular minor version. |
curve | {Boolean} Write gml:Curve instead of gml:LineString elements. |
multiCurve | {Boolean} Write gml:MultiCurve instead of gml:MultiLineString. |
surface | {Boolean} Write gml:Surface instead of gml:Polygon elements. |
multiSurface | {Boolean} Write gml:multiSurface instead of gml:MultiPolygon. |
Constructor | |
OpenLayers. | Create a parser for GML v3. |
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. |
setGeometryTypes | Sets the <geometryTypes> mapping. |
Create a parser for GML v3.
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 )
Sets the geometryTypes mapping.
setGeometryTypes: function()