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

bearing num
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target MPPoint
final
tilt num
final
zoom num
final

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