Methods
clear()
Clear MarkerCollection
createMarker(markerId, coordinates, radius) → {gem.d3Scene.Marker}
Create a marker with the specifed id
Name | Type | Description |
---|---|---|
markerId | number | marker id |
coordinates | gem. | coordinates of the marker |
radius | number | radius of the marker |
- Created marker
- Type:
- gem.
d3Scene. Marker
getArea() → {gem.core.BoundingBox}
Get Bounding Box (WGS coordinates) of the MarkerCollection
- Type:
- gem.
core. BoundingBox
getGroupHeadItem(nId) → {gem.d3Scene.MarkerRef}
Gets the group head marker for the given marker id
Name | Type | Description |
---|---|---|
nId | string | marker id |
- If group head info is not available the function will return a reference to the queried marker
- Type:
- gem.
d3Scene. MarkerRef
getMarkerAt(nId) → {gem.d3Scene.MarkerRef}
Get the marker with the id
Name | Type | Description |
---|---|---|
nId | number | marker id |
- marker reference
- Type:
- gem.
d3Scene. MarkerRef
getName() → {string}
Get the name of the MarkerCollection
- Type:
- string
getType() → {gem.d3Scene.EMarkerType}
Returns MarkerCollection type
- Type:
- gem.
d3Scene. EMarkerType
removeMarker(nId)
Remove the marker with the id
Name | Type | Description |
---|---|---|
nId | number | marker id |
size() → {number}
Get size
- Type:
- number