ProjectionPlatformInterface class abstract interface

Collection of Spherical Mercator projection methods.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

coordinateForProjectedMeters(ProjectedMeters projectedMeters) Future<Point>
Converts Spherical Mercator projected meters to a longitude-latitude pair.
getMetersPerPixelAtLatitude(double latitude, double zoom) Future<double>
Distance in meters spanned by one pixel at latitude and zoom.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
project(Point coordinate, double zoomScale) Future<MercatorCoordinate>
Converts a coordinate to a Mercator-projected point at zoomScale.
projectedMetersForCoordinate(Point coordinate) Future<ProjectedMeters>
Converts a longitude-latitude pair to Spherical Mercator projected meters.
toString() String
A string representation of this object.
inherited
unproject(MercatorCoordinate coordinate, double zoomScale) Future<Point>
Converts a Mercator-projected point back to a longitude-latitude pair.

Operators

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