#802 - giving all classes a constructor that don't currently have one - this for Natural Docs

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3595 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-07-05 18:54:38 +00:00
parent 691802b115
commit 658df9df72
4 changed files with 63 additions and 3 deletions
+15 -1
View File
@@ -9,7 +9,8 @@
* @requires OpenLayers/Geometry.js
*
* Class: OpenLayers.Format.GML
* Read/Wite GML.
* Read/Wite GML. Create a new instance with the <OpenLayers.Format.GML>
* constructor.
*
* Inherits from:
* - <OpenLayers.Format>
@@ -65,6 +66,19 @@ OpenLayers.Format.GML.prototype =
*/
extractAttributes: true,
/**
* Constructor: OpenLayers.Format.GML
* Create a new parser for GML
*
* Parameters:
* options - {Object} An optional object whose properties will be set on
* this instance.
*/
initialize: function(options) {
OpenLayers.Format.prototype.initialize.apply(this, [options]);
},
/**
* APIMethod: read
* Read data from a string, and return a list of features.