RippleMarker class
Constructors
RippleMarker ({required MarkerId markerId , bool ripple = true , double alpha = 1.0 , dynamic anchor = const Offset(0.5, 1.0) , bool consumeTapEvents = false , bool draggable = false , bool flat = false , dynamic icon = BitmapDescriptor.defaultMarker , InfoWindow infoWindow = InfoWindow.noText , LatLng position = const LatLng(0.0, 0.0) , double rotation = 0.0 , bool visible = true , double zIndex = 0.0 , dynamic onTap , dynamic onDragEnd })
const
Properties
alpha
→ double
The opacity of the marker, between 0.0 and 1.0 inclusive.
final inherited
anchor
→ Offset
The icon image point that will be placed at the position of the marker.
final inherited
clusterManagerId
→ ClusterManagerId?
Marker clustering is managed by ClusterManager
with clusterManagerId .
final inherited
consumeTapEvents
→ bool
True if the marker icon consumes tap events. If not, the map will perform
default tap handling by centering the map on the marker and displaying its
info window.
final inherited
draggable
→ bool
True if the marker is draggable by user touch events.
final inherited
flat
→ bool
True if the marker is rendered flatly against the surface of the Earth, so
that it will rotate and tilt along with map camera movements.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
icon
→ BitmapDescriptor
A description of the bitmap used to draw the marker icon.
final inherited
infoWindow
→ InfoWindow
A Google Maps InfoWindow.
final inherited
mapsId
→ MarkerId
A identifier for this object.
no setter inherited
markerId
→ MarkerId
Uniquely identifies a Marker
.
final inherited
onDrag
→ ValueChanged <LatLng > ?
Signature reporting the new LatLng
during the drag event.
final inherited
onDragEnd
→ ValueChanged <LatLng > ?
Signature reporting the new LatLng
at the end of a drag event.
final inherited
onDragStart
→ ValueChanged <LatLng > ?
Signature reporting the new LatLng
at the start of a drag event.
final inherited
onTap
→ VoidCallback ?
Callbacks to receive tap events for markers placed on this map.
final inherited
position
→ LatLng
Geographical location of the marker.
final inherited
ripple
→ bool
final
rotation
→ double
Rotation of the marker image in degrees clockwise from the anchor point.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
visible
→ bool
True if the marker is visible.
final inherited
zIndex
→ double
The z-index of the marker, used to determine relative drawing order of
map overlays.
final inherited
Methods
clone ()
→ Marker
Creates a new Marker
object whose values are the same as this instance.
inherited
copyWith ({double ? alphaParam , Offset ? anchorParam , bool ? consumeTapEventsParam , bool ? draggableParam , bool ? flatParam , BitmapDescriptor? iconParam , InfoWindow? infoWindowParam , LatLng? positionParam , double ? rotationParam , bool ? visibleParam , double ? zIndexParam , VoidCallback ? onTapParam , ValueChanged <LatLng > ? onDragStartParam , ValueChanged <LatLng > ? onDragParam , ValueChanged <LatLng > ? onDragEndParam , ClusterManagerId? clusterManagerIdParam })
→ Marker
Creates a new Marker
object whose values are the same as this instance,
unless overwritten by the specified parameters.
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson ()
→ Object
Converts this object to something serializable in JSON.
inherited
toString ()
→ String
A string representation of this object.
inherited