SimpleProjection class
Equirectangular, or Plate Carree projection — the most simple projection, mostly used by GIS enthusiasts.
Directly maps x
as longitude, and y
as latitude.
Also suitable for flat worlds, e.g. game maps.
Used by the EPSG:4326
and Simple
CRS.
- Inheritance
-
- Object
- Projection
- SimpleProjection
Constructors
-
SimpleProjection({Tuple2<
double, double> ? latBounds, Tuple2<double, double> ? lngBounds}) -
const
Properties
- bounds → Bounds
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLatBounds → bool
-
no setterinherited
- hasLngBounds → bool
-
no setterinherited
-
latBounds
→ Tuple2<
double, double> ? -
finalinherited
-
lngBounds
→ Tuple2<
double, double> ? -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
project(
LatLng? position) → UPoint -
Projects geographical coordinates into coordinates in units accepted for
this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unproject(
UPoint point) → LatLng -
Given a projected coordinate returns the corresponding GeoPosition.
The inverse of
project
.override -
wrapLat(
double value) → double -
inherited
-
wrapLng(
double value) → double -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited