L.CRS.PTVMercator Class
Provides the PTV Mercator coordinate reference system.
Constructor
L.CRS.PTVMercator
()
Methods
project
()
Point
Projects a geographical coordinate into a PTV Mercator point.
Returns:
Point:
PTV Mercator point.
unproject
()
L.LatLng
Unprojects a PTV Mercator point to a geographical coordinate.
Returns:
L.LatLng:
Geographical coordinate.
Properties
code
String
Standard code name of the CRS passed into WMS services.
Default: "PTV:MERCATOR"
earthRadius
Number
private
The earth radius used for projections.
Default: 6371000
projection
L.IProjection
Projection that this CRS uses.
transformation
L.Transformation
Transformation that this CRS uses to turn projected coordinates into screen coordinates for a particular tile service.