Kartographer
Extension that adds maps to wiki pages
Loading...
Searching...
No Matches
Kartographer\Projection\EPSG3857 Class Reference

Static Public Member Functions

static latLonToPoint (array $latLon)
 EPSG3857 (Spherical Mercator) is the most common CRS for web mapping and is used by Leaflet by default.
 

Member Function Documentation

◆ latLonToPoint()

static Kartographer\Projection\EPSG3857::latLonToPoint ( array $latLon)
static

EPSG3857 (Spherical Mercator) is the most common CRS for web mapping and is used by Leaflet by default.

Converted to PHP from L.CRS.EPSG3857 (leaflet.js)

Parameters
float[]$latLonLatitude (north–south) and longitude (east-west) in degree.
Returns
float[] Point (x, y)

The documentation for this class was generated from the following file: