MarkerLogic class

Implemented types

Constructors

MarkerLogic(InteractiveOptions<Marker> editOptionsGetter())
const

Properties

editOptions → InteractiveOptions<Marker>
no setter
editOptionsGetter → InteractiveOptions<Marker> Function()
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

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