Proj4d class

A projection adapter based on the Proj4dart package.

Mixed in types

Constructors

Proj4d(CoordRefSys sourceCrs, CoordRefSys targetCrs, ProjectionTuple tuple)
Create an adapter with a projection tuple of the Proj4dart package.
const
Proj4d.init(CoordRefSys sourceCrs, CoordRefSys targetCrs, {String? sourceDef, String? targetDef})
Initializes a projection adapter between sourceCrs and targetCrs.
factory

Properties

forward Projection
Returns a projection that projects from sourceCrs to targetCrs.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverse Projection
Returns a projection that projects from targetCrs to sourceCrs.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceCrs CoordRefSys
The source coordinate reference system (or projection), ie. CoordRefSys.CRS84.
final
targetCrs CoordRefSys
The target coordinate reference system (or projection), ie. CoordRefSys.EPSG_3857.
final
tuple → ProjectionTuple
A projection tuple contains source and target projections.
final

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

Static Methods

tryInit(CoordRefSys sourceCrs, CoordRefSys targetCrs, {String? sourceDef, String? targetDef}) Proj4d?
Initializes a projection adapter between sourceCrs and targetCrs.