MPCameraUpdate class

An object that can be used to update the position of the camera by calling MapControl.animateCamera().

Inheritance
  • Object
  • MapsIndoorsObject
  • MPCameraUpdate

Constructors

MPCameraUpdate.fromBounds({required MPBounds bounds, required int padding, int? width, int? height})
Construct the update from a bounding box with some padding.
MPCameraUpdate.fromCameraPosition(MPCameraPosition position)
Constructs the update from the given position.
MPCameraUpdate.fromPoint(MPPoint point)
Construct the update from a point.
MPCameraUpdate.zoomBy(num amount)
Zooms the camera by the given amount.
MPCameraUpdate.zoomTo(num zoom)
Zooms the camera to the given level.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited