new CAR(header, optionsopt) → {CAR}
Cylindrical Plate carrée projection.
Parameters
-
header
objectJSON representation of the image header.
-
options
projParam<optional>
Projection options: see
Cylindrical.
Returns
-
CARInstance of a CAR projection.
Source
Methods
privatestatic
_phiRToRed(phiR) → {leaflet.Point}
Convert CAR (phi,R) coordinates to reduced coordinates.
Parameters
-
phiR
leaflet.LatLng(phi,R) CAR coordinates in degrees.
Returns
-
leaflet.PointReduced coordinates.
Source
privatestatic
_redToPhiR(red) → {leaflet.LatLng}
Convert reduced coordinates to CAR (phi,R) coordinates.
Parameters
-
red
leaflet.PointReduced coordinates.
Returns
-
leaflet.LatLng(phi,R) CAR coordinates in degrees.