MultiPoint is a collection of Points. Create a new instance with the OpenLayers.Geometry.MultiPoint constructor.
| OpenLayers. Geometry. MultiPoint | MultiPoint is a collection of Points. |
| Properties | |
| componentTypes | {Array(String)} An array of class names representing the types of components that the collection can include. |
| Constructor | |
| OpenLayers. Geometry. MultiPoint | Create a new MultiPoint Geometry |
| Functions | |
| addPoint | Wrapper for OpenLayers.Geometry.Collection.addComponent |
| removePoint | Wrapper for OpenLayers.Geometry.Collection.removeComponent |
addPoint: function( point, index )
Wrapper for OpenLayers.Geometry.Collection.addComponent
| point | {OpenLayers.Geometry.Point} Point to be added |
| index | {Integer} Optional index |
removePoint: function( point )
Wrapper for OpenLayers.Geometry.Collection.removeComponent
| point | {OpenLayers.Geometry.Point} Point to be removed |
Wrapper for OpenLayers.Geometry.Collection.addComponent
addPoint: function( point, index )
Add a new component (geometry) to the collection.
addComponent: function( component, index )
Wrapper for OpenLayers.Geometry.Collection.removeComponent
removePoint: function( point )
Remove a component from this geometry.
removeComponent: function( component )