Projection
class Projection
Content copied to clipboard
Collection of [Spherical Mercator](http://docs.openlayers.org/library/spherical_mercator.html) projection methods.
Functions
coordinate
                    Link copied to clipboard
                        open fun coordinateForProjectedMeters(projectedMeters: ProjectedMeters): Point
Content copied to clipboard
Calculate a longitude-latitude pair for a Spherical Mercator projected meters.
get
                    Link copied to clipboard
                        open 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
                        open fun project(coordinate: 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
                    Link copied to clipboard
                        open fun projectedMetersForCoordinate(coordinate: Point): ProjectedMeters
Content copied to clipboard
Calculate Spherical Mercator ProjectedMeters coordinates.
unproject
                          
                    Link copied to clipboard
                        open fun unproject(coordinate: MercatorCoordinate, zoomScale: Double): Point
Content copied to clipboard
Calculate a coordinate for a given point on the map in Mercator Projection.