new MOL(header, optionsopt) → {MOL}
Mollweide's (pseudo-cylindrical, equal-area) projection.
Parameters
-
header
object
JSON representation of the image header.
-
options
projParam
<optional>
Projection options: see
Cylindrical
.
Returns
-
MOL
Instance of a MOL projection.
Source
Methods
privatestatic
_phiRToRed(phiR) → {leaflet.Point}
Convert MOL (phi,R) coordinates to reduced coordinates.
Parameters
-
phiR
leaflet.LatLng
(phi,R) MOL coordinates in degrees.
Returns
-
leaflet.Point
Reduced coordinates.
Source
privatestatic
_redToPhiR(red) → {leaflet.LatLng}
Convert reduced coordinates to MOL (phi,R) coordinates.
Parameters
-
red
leaflet.Point
Reduced coordinates.
Returns
-
leaflet.LatLng
(phi,R) MOL coordinates in degrees.