Projection class abstract
Constructors
- Projection.add(String code, String defString)
-
Creates a Named Projection via Projection.parse and registers it to the
ProjectionStore
. If register was successfull then it can be accessed anytime with Projection factory constructor. Warning: this can override even the predefined Projections!factory - Projection.init(ProjParams params)
- Projection.parse(String defString)
-
Creates a Projection from defString which can be valid proj4 string / ogc wkt string / esri wkt string.
factory
Properties
- a ↔ double
-
getter/setter pair
- axis ↔ String
-
getter/setter pair
- b ↔ double
-
getter/setter pair
- datum ↔ Datum
-
getter/setter pair
- e ↔ double
-
getter/setter pair
- ellps ↔ String
-
getter/setter pair
- ep2 ↔ double
-
getter/setter pair
- es ↔ double
-
getter/setter pair
- from_greenwich ↔ double?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- k0 ↔ double
-
getter/setter pair
- noDefs ↔ bool?
-
getter/setter pair
- projName ↔ String
-
getter/setter pair
- rf ↔ double?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sphere ↔ bool?
-
getter/setter pair
- to_meter ↔ double?
-
getter/setter pair
Methods
-
forward(
Point p) → Point -
inverse(
Point p) → Point -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
Projection dest, Point point) → Point
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- GOOGLE → Projection
-
Safest way to return EPSG:3857 Projection from the
ProjectionStore
which cannot be overwritten even with Projection.add.no setter - WGS84 → Projection
-
Safest way to return WGS84 Projection from the
ProjectionStore
which cannot be overwritten even with Projection.add.no setter
Static Methods
-
get(
String code) → Projection? -
Named Projection: a Projection can be obtained from the
ProjectionStore
via it's name. null value will return if Projection not exists in store. -
nadgrid(
String key, Uint8List data) → void