new AIT(header, optionsopt) → {AIT}
Hammer-Aitoff equal-area projection (not formally pseudo-cylindrical).
Parameters
-
header
objectJSON representation of the image header.
-
options
projParam<optional>
Projection options: see
Cylindrical.
Returns
-
AITInstance of an AIT projection.
Source
Methods
privatestatic
_phiRToRed(phiR) → {leaflet.Point}
Convert AIT (phi,R) coordinates to reduced coordinates.
Parameters
-
phiR
leaflet.LatLng(phi,R) AIT coordinates in degrees.
Returns
-
leaflet.PointReduced coordinates.
Source
privatestatic
_redToPhiR(red) → {leaflet.LatLng}
Convert reduced coordinates to AIT (phi,R) coordinates.
Parameters
-
red
leaflet.PointReduced coordinates.
Returns
-
leaflet.LatLng(phi,R) AIT coordinates in degrees.