Proj4Crs class

Custom CRS

Inheritance

Constructors

Proj4Crs.fromFactory({required String code, required Projection proj4Projection, Transformation? transformation, List<CustomPoint<num>>? origins, Bounds<double>? bounds, List<double?>? scales, List<double>? resolutions})
factory

Properties

code String
final
hashCode int
The hash code for this object.
no setterinherited
infinite bool
final
projection Projection
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transformation Transformation
final
wrapLat → Tuple2<double, double>?
final
wrapLng → Tuple2<double, double>?
final

Methods

getProjectedBounds(double zoom) Bounds<num>?
Rescales the bounds to a given zoom value.
override
latLngToPoint(LatLng? latlng, double zoom) CustomPoint<num>
Converts a point on the sphere surface (with a certain zoom) in a map point.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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).
override
scale(double zoom) num?
Zoom to Scale function.
override
toString() String
A string representation of this object.
inherited
zoom(double scale) num
Scale to Zoom function.
override

Operators

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