2.42.0 • Published 1 year ago
@itowns_gc/geodesy v2.42.0
iTowns Geodesy
install
npm install @itowns/geodesy
getting started
import { Coordinates, Extent } from @itowns/geodesy;
const coordinates = new Coordinates('EPSG:4326', 88.002445, 50.336522, 120.32201);
const extent = new Extent('EPSG:4326', 88.002445, 50.336522, 22.021, 50.302548);
// change projection system to pseudo mercator
coordinates.as('EPSG:3857');
extent.as('EPSG:3857');
Visiting epsg.io to more coordinate system worldwide.
Visiting iTowns documentation for more information.
2.42.0
1 year ago