MapViewMarkerCollections class Maps & 3D Scene

Mapview marker collections class

This class should not be instantiated directly. Instead, use the MapViewPreferences.markers getter to obtain an instance.

Constructors

MapViewMarkerCollections.init(int id, int mapId, dynamic mapPointerId)

Properties

externalRenderers Map<int, ExternalRendererMarkers>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mapId int
no setter
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Get collection size.
no setter

Methods

add(MarkerCollection col, {MarkerCollectionRenderSettings? settings, ExternalRendererMarkers? externalRender}) → void
Add collection.
addList({required List<MarkerWithRenderSettings> list, required MarkerCollectionRenderSettings settings, required String name, MarkerType markerType = MarkerType.point}) List<int>
Adds a list of markers and corresponding render settings
clear() Future<void>
Remove all collections.
contains(MarkerCollection col) bool
Check if the specified marker collection exists in this collection.
dispose() → void
getCollectionAt(int index) MarkerCollection
Get collection at index.
hitTest(RectangleGeographicArea area) List<MarkerMatch>
Perform a hit test across all marker collections.
indexOf(MarkerCollection col) int
Get the index of the given collection.
isSketches(MarkerCollection coll) bool
Check if the given collection is a sketches collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMarkerRender(GemMapController mapController, dynamic data) → void
onViewRendered(dynamic data) → void
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
removeAt(int index) → void
Remove collection.
setRenderSettings(int index, MarkerCollectionRenderSettings settings) GemError
Sets collection render settings.
toString() String
A string representation of this object.
inherited

Operators

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