MFMarker class
Constructors
-
MFMarker({required MFMarkerId markerId, bool consumeTapEvents = false, MFLatLng position = const MFLatLng(0.0, 0.0), double elevation = 0.0, double rotation = 0.0, Offset anchor = const Offset(0.5, 0.5), bool draggable = false, bool visible = true, double zIndex = 0.0, MFBitmap icon = MFBitmap.defaultIcon, MFInfoWindow infoWindow = MFInfoWindow.noText, VoidCallback? onTap, ValueChanged<MFLatLng>? onDragEnd})
-
const
Methods
-
clone()
→ MFMarker
-
Returns a duplicate of this object.
-
copyWith({bool? consumeTapEventsParam, MFLatLng? positionParam, Offset? anchorParam, double? elevationParam, double? rotationParam, bool? draggableParam, bool? visibleParam, double? zIndexParam, MFBitmap? iconParam, MFInfoWindow? infoWindowParam, VoidCallback? onTapParam, ValueChanged<MFLatLng>? onDragEndParam})
→ MFMarker
-
Creates a new MFMarker object whose values are the same as this instance,
unless overwritten by the specified parameters.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Object
-
Converts this object to something serializable in JSON.
-
toString()
→ String
-
A string representation of this object.
inherited