Superclass for GML parsers.
OpenLayers.
|
Superclass for GML parsers. |
Properties | |
featureType | {Array(String) or String} The local (without prefix) feature typeName(s). |
featureNS | {String} The feature namespace. |
geometry | {String} Name of geometry element. |
extractAttributes | {Boolean} Extract attributes from GML. |
srsName | {String} URI for spatial reference system. |
xy | {Boolean} Order of the GML coordinate true:(x,y) or false:(y,x) Changing is not recommended, a new Format should be instantiated. |
Constructor | |
OpenLayers.
|
Instances of this class are not created directly. |
{String} Name of geometry element. Defaults to “geometry”. If null, it will be set on read when the first geometry is parsed.
Instances of this class are not created directly. Use the OpenLayers.Format.GML.v2 or OpenLayers.Format.GML.v3 constructor instead.
options | {Object} An optional object whose properties will be set on this instance. |
featureType | {Array(String) or String} Local (without prefix) feature typeName(s) (required for write). |
featureNS | {String} Feature namespace (required for write). |
geometryName | {String} Geometry element name (required for write). |
Read data from a string, and return a list of features.
read: function( data )