MapMarker class
Represents a 3D marker on the map.
Constructors
- MapMarker({required String id, required double latitude, required double longitude, double altitude = 0.0, String? title, String? snippet, String? iconAsset, String? imageUrl, double? imageSize, double? imageRadius, IconData? iconData = Icons.location_on, Color color = Colors.red, VoidCallback? onTap})
-
const
Properties
- altitude → double
-
final
- color → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconAsset → String?
-
final
- iconData → IconData?
-
final
- id → String
-
final
- imageRadius → double?
-
final
- imageSize → double?
-
final
- imageUrl → String?
-
final
- latitude → double
-
final
- longitude → double
-
final
- onTap → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snippet → String?
-
final
- title → String?
-
final
Methods
-
copyWith(
{String? id, double? latitude, double? longitude, double? altitude, String? title, String? snippet, String? iconAsset, String? imageUrl, double? imageSize, double? imageRadius, IconData? iconData, Color? color, VoidCallback? onTap}) → MapMarker -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited