backward property
Returns a new array [longitude, latitude] in degrees representing the unprojected point of the given projected point.
The point must be specified as a two-element array [x, y] (typically in pixels). May return a two-element array filled with double.nan if the specified point has no defined projected position, such as when the point is outside the clipping bounds of the projection.
Implementation
@override
get backward => (p) {
var x = p[0] - _tx, y = p[1] - _ty;
if (_alpha != 0) {
var t = y * _ca + x * _sa;
x = x * _ca - y * _sa;
y = t;
}
return [x / _kx, y / _ky];
};