CrsSimple class

Custom CRS for non geographical maps

Inheritance
Annotations

Constructors

CrsSimple()
Create a new CrsSimple.
const

Properties

code → String
The code
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
infinite → bool
Set to true if the CRS has no bounds.
finalinherited
projection → Projection
finalinherited
replicatesWorldLongitude → bool
Whether this CRS supports repeating worlds: repeated (feature) layers and unbounded horizontal scrolling along the longitude axis
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wrapLat → (double, double)?
Wrap the latitude to fit inside the bounds of the Crs.
finalinherited
wrapLng → (double, double)?
Wrap the longitude to fit inside the bounds of the Crs.
finalinherited

Methods

getProjectedBounds(double zoom) → Rect?
Rescales the bounds to a given zoom value.
inherited
latLngToOffset(LatLng latlng, double zoom) → Offset
Similar to latLngToXY but converts the XY coordinates to an Offset.
inherited
latLngToXY(LatLng latlng, double scale) → (double, double)
Converts a point on the sphere surface (with a certain zoom) to a scaled map point.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offsetToLatLng(Offset point, double zoom) → LatLng
Converts a map point to the sphere coordinate (at a certain zoom).
inherited
scale(double zoom) → double
Zoom to Scale function.
inherited
toString() → String
A string representation of this object.
inherited
transform(double x, double y, double scale) → (double, double)
Scale planar coordinate to scaled map point.
inherited
untransform(double x, double y, double scale) → (double, double)
Scale map point to planar coordinate.
inherited
zoom(double scale) → double
Scale to Zoom function.
inherited

Operators

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