MarkerSketches class Maps & 3D Scene
Sketches collection
This class should not be instantiated directly. Instead, use the MapViewMarkerCollections.getSketches method to obtain an instance.
A specialized marker collection that lets markers carry their own render presets so each sketch can have a distinct visual style. Typical operations are adding a sketch with an optional per‑marker render configuration and position, reading a sketch’s rendering configuration updating that configuration, and using the collection as a sketch layer for temporary annotations, user drawing or programmatic styling of individual elements on the map.
- Inheritance
-
- Object
- MarkerCollection
- MarkerSketches
Properties
- area → RectangleGeographicArea
-
Get whole collection enclosing area.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Get collection id.
no setterinherited
- mapId → int
-
no setterinherited
- name ↔ String
-
Get collection name.
getter/setter pairinherited
- pointerId → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Get marker count.
no setterinherited
- type → MarkerType
-
Get collection type.
no setterinherited
Methods
-
add(
Marker marker, {int index = -1}) → void -
Add a new marker to collection.
inherited
-
addMarker(
Marker marker, {MarkerRenderSettings? settings, int index = -1}) → void - Add a new sketch with specific render settings.
-
clear(
) → void -
Delete all markers.
inherited
-
delete(
int index) → void -
Delete a marker by index.
inherited
-
dispose(
) → void -
inherited
-
getMarkerAt(
int index) → Marker? -
Get the marker at the given index.
inherited
-
getMarkerById(
int id) → Marker? -
Get the marker with the given id.
inherited
-
getPointsGroupComponents(
int groupId) → List< Marker> -
Gets the points group components.
inherited
-
getPointsGroupHead(
int markerId) → Marker? -
Gets the points group head for the given marker id.
inherited
-
getRenderSettings(
int index) → MarkerRenderSettings - Get sketch render settings.
-
indexOf(
Marker marker) → int -
Get the index of the given marker.
inherited
-
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
-
setRenderSettings(
int index, MarkerRenderSettings settings) → void - Set sketch render settings
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited