More details manually observed while reviewing documentation.
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
OpenLayers.Format.GML = OpenLayers.Class(OpenLayers.Format.XML, {
|
OpenLayers.Format.GML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* APIProperty: featureNS
|
* APIProperty: featureNS
|
||||||
* {String} Namespace used for feature attributes. Default is
|
* {String} Namespace used for feature attributes. Default is
|
||||||
* "http://mapserver.gis.umn.edu/mapserver".
|
* "http://mapserver.gis.umn.edu/mapserver".
|
||||||
@@ -38,13 +38,13 @@ OpenLayers.Format.GML = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
featurePrefix: "feature",
|
featurePrefix: "feature",
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* APIProperty: featureName
|
* APIProperty: featureName
|
||||||
* {String} Element name for features. Default is "featureMember".
|
* {String} Element name for features. Default is "featureMember".
|
||||||
*/
|
*/
|
||||||
featureName: "featureMember",
|
featureName: "featureMember",
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* APIProperty: layerName
|
* APIProperty: layerName
|
||||||
* {String} Name of data layer. Default is "features".
|
* {String} Name of data layer. Default is "features".
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -20,20 +20,23 @@ OpenLayers.Format.WFS = OpenLayers.Class(OpenLayers.Format.GML, {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: layer
|
* Property: layer
|
||||||
|
* {<OpenLayers.Layer>}
|
||||||
*/
|
*/
|
||||||
layer: null,
|
layer: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProperty: wfsns
|
* APIProperty: wfsns
|
||||||
|
* {String}
|
||||||
*/
|
*/
|
||||||
wfsns: "http://www.opengis.net/wfs",
|
wfsns: "http://www.opengis.net/wfs",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: ogcns
|
* Property: ogcns
|
||||||
|
* {String}
|
||||||
*/
|
*/
|
||||||
ogcns: "http://www.opengis.net/ogc",
|
ogcns: "http://www.opengis.net/ogc",
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Constructor: OpenLayers.Format.WFS
|
* Constructor: OpenLayers.Format.WFS
|
||||||
* Create a WFS-T formatter. This requires a layer: that layer should
|
* Create a WFS-T formatter. This requires a layer: that layer should
|
||||||
* have two properties: geometry_column and typename. The parser
|
* have two properties: geometry_column and typename. The parser
|
||||||
@@ -45,7 +48,6 @@ OpenLayers.Format.WFS = OpenLayers.Class(OpenLayers.Format.GML, {
|
|||||||
* options - {Object}
|
* options - {Object}
|
||||||
* layer - {<OpenLayers.Layer>}
|
* layer - {<OpenLayers.Layer>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
initialize: function(options, layer) {
|
initialize: function(options, layer) {
|
||||||
OpenLayers.Format.GML.prototype.initialize.apply(this, [options]);
|
OpenLayers.Format.GML.prototype.initialize.apply(this, [options]);
|
||||||
this.layer = layer;
|
this.layer = layer;
|
||||||
|
|||||||
Reference in New Issue
Block a user