MarkerIconInfo class
Class used to provide information about the marker on the GoogleMap widget. Pass either an asset image assetPath or a material icon to change the appearance of the icon. assetMarkerSize can be provided to resize image at assetPath.
See also:
- bitmapDescriptor parameter.
Constructors
Properties
- anchor → Offset
-
The icon image point that will be placed at the
position
of the marker.final - assetMarkerSize → Size?
-
Asset marker size which can be used to
resize image at assetPath.
If null, defaults to
Constants.kDefaultMarkerSize
.final - assetPath → String?
-
Asset image path that can be passed which can be used
in place of a default Marker.
final
-
bitmapDescriptor
→ Future<
BitmapDescriptor> -
This getter is used to get the BitmapDescriptor required
by the Marker.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon?
-
Material icon that can be passed which can be used
in place of a default Marker.
final
- infoWindowTitle → String?
-
Displays Marker's InfoWindow displaying infoWindowTitle
when tapped on MarkerIconInfo.
final
- isVisible → bool
-
Whether to show the marker or the map or not.
final
- onTapInfoWindow → void Function(LatLng)?
-
Called every time the InfoWindow is tapped.
final
- onTapMarker → void Function(LatLng)?
-
Called every time the Marker is tapped.
final
- rotation → double
-
Rotation of the marker image in degrees clockwise from the anchor point.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- destinationMarkerId → const MarkerId
- driverMarkerId → const MarkerId
- sourceMarkerId → const MarkerId