Conversion between a source's coordinate reference system and WGS 84 longitude/latitude, one coordinate at a time.
Shaped to fit proj4js directly:
const utm = proj4('EPSG:25832', 'WGS84');const projection: Projection = { toWgs84: (x, y) => utm.forward([x, y]), fromWgs84: (lon, lat) => utm.inverse([lon, lat]),}; Copy
const utm = proj4('EPSG:25832', 'WGS84');const projection: Projection = { toWgs84: (x, y) => utm.forward([x, y]), fromWgs84: (lon, lat) => utm.inverse([lon, lat]),};
Convert [longitude, latitude] to a coordinate in the source CRS.
[longitude, latitude]
Convert a coordinate in the source CRS to [longitude, latitude].
Conversion between a source's coordinate reference system and WGS 84 longitude/latitude, one coordinate at a time.
Shaped to fit proj4js directly: