MultiPoint is a collection of Points. Create a new instance with the ALKMaps.Geometry.MultiPoint constructor.
ALKMaps. | 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 | |
ALKMaps. | Create a new MultiPoint Geometry |
Functions | |
addPoint | Wrapper for ALKMaps.Geometry.Collection.addComponent |
removePoint | Wrapper for ALKMaps.Geometry.Collection.removeComponent |
addPoint: function( point, index )
Wrapper for ALKMaps.Geometry.Collection.addComponent
point | {ALKMaps.Geometry.Point} Point to be added |
index | {Integer} Optional index |
removePoint: function( point )
Wrapper for ALKMaps.Geometry.Collection.removeComponent
point | {ALKMaps.Geometry.Point} Point to be removed |
Wrapper for ALKMaps.Geometry.Collection.addComponent
addPoint: function( point, index )
Add a new component (geometry) to the collection.
addComponent: function( component, index )
Wrapper for ALKMaps.Geometry.Collection.removeComponent
removePoint: function( point )
Remove a component from this geometry.
removeComponent: function( component )