MarkerLogic class
Methods
-
createAddOp(Marker item)
→ Op<Marker>
-
override
-
createDragEndOp(Marker item, LatLng origin, LatLng current)
→ Op<Marker>?
-
Convert a generic drag end into a concrete commit operation.
override
-
createRemoveOp(Key key)
→ Op<Marker>
-
override
-
createUpdateOp(Marker oldItem, Marker newItem, {int index = -1})
→ Op<Marker>
-
override
-
ensureHasKey(Marker item)
→ void
-
override
-
getBounds(Marker item)
→ LatLngBounds
-
Get the bounds of the item for spatial indexing.
override
-
getItemKey(Marker item)
→ Key?
-
override
-
hasSpatialChange(Marker oldItem, Marker newItem)
→ bool
-
Returns true if the change between a and b is spatial (position/geometry).
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onDragUpdate(Marker item, LatLng origin, LatLng current)
→ void
-
Handle drag updates (e.g., debounced position change callbacks).
override
-
onInteraction(Marker item, InteractionType type)
→ void
-
Handle interaction side-effects (e.g., internal model callbacks).
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateIndex(SpatialIndex<Marker> index, Op<Marker> op, Marker? getItem(Key))
→ void
-
Updates the spatial index based on the operation.
getItem allows retrieving the current state of an item by key (useful for Move ops).
override