Projection class abstract

Implementers

Constructors

Projection({Bounds? bounds, Tuple2<double, double>? latBounds = const Tuple2(-90.0, 90.0), Tuple2<double, double>? lngBounds = const Tuple2(-180.0, 180.0)})
const

Properties

bounds Bounds?
final
hashCode int
The hash code for this object.
no setterinherited
hasLatBounds bool
no setter
hasLngBounds bool
no setter
latBounds → Tuple2<double, double>?
final
lngBounds → Tuple2<double, double>?
final
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).
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.
wrapLat(double value) double
wrapLng(double value) double

Operators

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