Merge all changes from the naturaldocs sandbox. This brings all the work that
has been done in the NaturalDocs branch back to trunk. Thanks to everyone who helped out in making this happen. (I could list people, but the list would be long, and I'm already mentally on vacation.) git-svn-id: http://svn.openlayers.org/trunk/openlayers@3545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -3,34 +3,44 @@
|
||||
* for the full text of the license. */
|
||||
|
||||
/**
|
||||
* @class
|
||||
*
|
||||
* A MultiLineString is a collection of LineStrings
|
||||
*
|
||||
* @requires OpenLayers/Geometry/Collection.js
|
||||
*
|
||||
* Class: OpenLayers.Geometry.MultiLineString
|
||||
* A MultiLineString is a geometry with multiple <OpenLayers.Geometry.LineString>
|
||||
* components.
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Geometry.Collection>
|
||||
* - <OpenLayers.Geometry>
|
||||
*/
|
||||
OpenLayers.Geometry.MultiLineString = OpenLayers.Class.create();
|
||||
OpenLayers.Geometry.MultiLineString.prototype =
|
||||
OpenLayers.Class.inherit(OpenLayers.Geometry.Collection, {
|
||||
|
||||
/**
|
||||
* An array of class names representing the types of components that
|
||||
* the collection can include. A null value means the component types
|
||||
* are not restricted.
|
||||
* @type Array(String)
|
||||
* Property: componentTypes
|
||||
* {Array(String)} An array of class names representing the types of
|
||||
* components that the collection can include. A null value means the
|
||||
* component types are not restricted.
|
||||
*/
|
||||
componentTypes: ["OpenLayers.Geometry.LineString"],
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* Constructor: OpenLayers.Geometry.MultiLineString
|
||||
* Constructor for a MultiLineString Geometry.
|
||||
*
|
||||
* Parameters:
|
||||
* components - {Array(OpenLayers.Geometry.LineString)}
|
||||
*
|
||||
* @param {Array(OpenLayers.Geometry.LineString)} components
|
||||
*/
|
||||
initialize: function(components) {
|
||||
OpenLayers.Geometry.Collection.prototype.initialize.apply(this,
|
||||
arguments);
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
/**
|
||||
* Constant: CLASS_NAME
|
||||
* {String} Name of class.
|
||||
*/
|
||||
CLASS_NAME: "OpenLayers.Geometry.MultiLineString"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user