MapSnapshot class
An image snapshot of a map rendered by map snapshotter
.
Constructors
- MapSnapshot({BinaryMessenger? binaryMessenger})
-
Constructor for MapSnapshot. The
binaryMessenger
named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attributions(
) → Future< List< String?> > - Get list of attributions for the sources in this snapshot.
-
coordinate(
ScreenCoordinate arg_screenCoordinate) → Future< Map< String?, Object?> > - Calculate geographical coordinates from a point on the snapshot.
-
image(
) → Future< MbxImage> -
Get the rendered snapshot
image
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
screenCoordinate(
Map< String?, Object?> arg_coordinate) → Future<ScreenCoordinate> -
Calculate screen coordinate on the snapshot from geographical
coordinate
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
codec
→ const MessageCodec<
Object?>