ALKMaps.Geometry.MultiPoint

MultiPoint is a collection of Points.  Create a new instance with the ALKMaps.Geometry.MultiPoint constructor.

Inherits from

Summary
ALKMaps.Geometry.MultiPointMultiPoint 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.Geometry.MultiPointCreate a new MultiPoint Geometry
Functions
addPointWrapper for ALKMaps.Geometry.Collection.addComponent
removePointWrapper for ALKMaps.Geometry.Collection.removeComponent

Properties

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.

Constructor

ALKMaps.Geometry.MultiPoint

Create a new MultiPoint Geometry

Parameters

components{Array(ALKMaps.Geometry.Point)}

Returns

{ALKMaps.Geometry.MultiPoint}

Functions

addPoint

addPoint: function(point,
index)

Wrapper for ALKMaps.Geometry.Collection.addComponent

Parameters

point{ALKMaps.Geometry.Point} Point to be added
index{Integer} Optional index

removePoint

removePoint: function(point)

Wrapper for ALKMaps.Geometry.Collection.removeComponent

Parameters

point{ALKMaps.Geometry.Point} Point to be removed
addPoint: function(point,
index)
Wrapper for ALKMaps.Geometry.Collection.addComponent
addComponent: function(component,
index)
Add a new component (geometry) to the collection.
removePoint: function(point)
Wrapper for ALKMaps.Geometry.Collection.removeComponent
removeComponent: function(component)
Remove a component from this geometry.
Create a new MultiPoint Geometry
A Collection is exactly what it sounds like: A collection of different Geometries.
A Geometry is a description of a geographic object.
Point geometry class.
Close