Projection(androidJvm)

Collection of [Spherical Mercator](http://docs.openlayers.org/library/spherical_mercator.html) projection methods.

class Projection(androidJvm)

Functions

coordinateForProjectedMeters
Link copied to clipboard

Calculate a longitude-latitude pair for a Spherical Mercator projected meters.

open fun coordinateForProjectedMeters(projectedMeters: ProjectedMeters): Point
getMetersPerPixelAtLatitude
Link copied to clipboard

Calculate distance spanned by one pixel at the specified latitude and zoom level.

open fun getMetersPerPixelAtLatitude(latitude: Double, zoom: Double): Double
project
Link copied to clipboard

Calculate a point on the map in Mercator Projection for a given coordinate at the specified zoom scale.

open fun project(coordinate: Point, zoomScale: Double): MercatorCoordinate
projectedMetersForCoordinate
Link copied to clipboard

Calculate Spherical Mercator ProjectedMeters coordinates.

open fun projectedMetersForCoordinate(coordinate: Point): ProjectedMeters
unproject
Link copied to clipboard

Calculate a coordinate for a given point on the map in Mercator Projection.

open fun unproject(coordinate: MercatorCoordinate, zoomScale: Double): Point