Camera class
Class describing position of the camera. Referenced from LocationWindow.
Example:
// Create camera with constructor
Point newPoint = Point(100.0, 200.0);
Camera newCamera = Camera(newPoint, 50.0, 0.0, 0.0);
print("Created camera with point (${newPoint.x}, ${newPoint.y}), zoom 50.0, rotation 0°, tilt 0°");
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- point ↔ Point
-
point the camera is looking at Point
getter/setter pair
- rotation ↔ double
-
Map azimuth in degrees: angle between
Location North(top of the image) and the direction of interest on the view plane, in the range [0, 360).getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tilt ↔ double
-
Camera tilt in degrees. 0 means vertical downward (map seen from above).
Positive values tilt the eye toward the horizon; the renderer clamps tilt to device limits when applying.
getter/setter pair
- zoom ↔ double
-
zoom level.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited