MPCameraPosition class
A camera position object, used to move the camera to a specific position.
- Inheritance
-
- Object
- MapsIndoorsObject
- MPCameraPosition
Constructors
- MPCameraPosition({required num zoom, required MPPoint target, num tilt = 0, num bearing = 0})
-
Build a Camera Position, with optional tilt and bearing parameters.
const
Properties
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
Static Methods
-
fromJson(
dynamic json) → MPCameraPosition? - Attempts to build a MPCameraPosition from a JSON object, this method will decode the object if needed