#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
+14 -1
View File
@@ -9,7 +9,8 @@
*
* Class: OpenLayers.Format.KML
* Read only KML. Largely Proof of Concept: does not support advanced Features,
* including Polygons.
* including Polygons. Create a new instance with the
* <OpenLayers.Format.KML> constructor.
*
* Inherits from:
* - <OpenLayers.Format>
@@ -24,6 +25,18 @@ OpenLayers.Format.KML.prototype =
*/
kmlns: "http://earth.google.com/kml/2.0",
/**
* Constructor: OpenLayers.Format.KML
* Create a new parser for KML
*
* 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.