Crs class

An abstract representation of a Coordinate Reference System.

The main objective of a CRS is to handle the conversion between surface points of objects of different dimensions. In our case 3D and 2D objects.

Implementers

Constructors

Crs()
const

Properties

code String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
infinite bool
read-only
projection Projection
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transformation Transformation
read-only
wrapLat Tuple2<double, double>
read-only
wrapLng Tuple2<double, double>
read-only

Methods

getProjectedBounds(double zoom) Bounds<num>
Rescales the bounds to a given zoom value.
latLngToPoint(LatLng latlng, double zoom) CustomPoint<num>
Converts a point on the sphere surface (with a certain zoom) in a map point.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pointToLatLng(CustomPoint<num> point, double zoom) LatLng
Converts a map point to the sphere coordinate (at a certain zoom).
scale(double zoom) num
Zoom to Scale function.
toString() String
A string representation of this object. [...]
inherited
zoom(double scale) num
Scale to Zoom function.

Operators

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