MPCameraPositionBuilder class
Construct a camera position.
Constructors
- MPCameraPositionBuilder.new({required MPPoint target, required num zoom})
- Start the builder, a target and zoom is required to build a MPCameraPosition
- MPCameraPositionBuilder.fromPosition(MPCameraPosition position)
- Copy another position to use as a reference.
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
-
build(
) → MPCameraPosition -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBearing(
num bearing) → MPCameraPositionBuilder -
setTarget(
MPPoint target) → MPCameraPositionBuilder -
setTilt(
num tilt) → MPCameraPositionBuilder -
setZoom(
num zoom) → MPCameraPositionBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited