MarkerCollection class Maps & 3D Scene

Marker collection class

Constructors

MarkerCollection({required MarkerType markerType, required String name})
factory
MarkerCollection.init(int id, int mapId)

Properties

area RectangleGeographicArea
Get whole collection enclosing area.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
Get collection id.
no setter
mapId int
no setter
name String
Get collection name.
getter/setter pair
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Get marker count.
no setter
type MarkerType
Get collection type.
no setter

Methods

add(Marker marker, {int index = -1}) → void
Add a new marker to collection.
clear() → void
Delete all markers.
delete(int index) → void
Delete a marker by index.
dispose() → void
getMarkerAt(int index) Marker
Get the marker at the given index.
getMarkerById(int id) Marker
Get the marker with the given id.
getPointsGroupComponents(int id) List<Marker>
Gets the points group components.
getPointsGroupHead(int id) Marker
Gets the points group head for the given marker id.
indexOf(Marker marker) int
Get the index of the given marker.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited