Map Projection Delegate
interface MapProjectionDelegate
Content copied to clipboard
Definition of a map projection delegate.
Functions
coordinate For Projected Meters
Link copied to clipboard
abstract fun coordinateForProjectedMeters(projectedMeters: ProjectedMeters): Point
Content copied to clipboard
Calculate a longitude-latitude pair for a Spherical Mercator projected meters.
get Meters Per Pixel At Latitude
Link copied to clipboard
Calculate distance spanned by one pixel at the specified latitude at current zoom level.
abstract fun getMetersPerPixelAtLatitude(latitude: Double, zoom: Double): Double
Content copied to clipboard
Calculate distance spanned by one pixel at the specified latitude and zoom level.
project
Link copied to clipboard
abstract fun project(point: Point, zoomScale: Double): MercatorCoordinate
Content copied to clipboard
Calculate a point on the map in Mercator Projection for a given coordinate at the specified zoom scale.
projected Meters For Coordinate
Link copied to clipboard
Calculate Spherical Mercator ProjectedMeters coordinates.
unproject
Link copied to clipboard
abstract fun unproject(coordinate: MercatorCoordinate, zoomScale: Double): Point
Content copied to clipboard
Calculate a coordinate for a given point on the map in Mercator Projection.
Inheritors
MapboxMap
Link copied to clipboard