Package Exports
- reproject-spherical-mercator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (reproject-spherical-mercator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
reproject-spherical-mercator
Reproject geojson geometry from WGS84 to Spherical Mercator. In backend I am using sphericalmercator moduel to convert the coordinates from WGS84 (epsg:4326) to Spehrical Mercator (EPSG:3857) also called web mercator.
installation
npm install reproject-spherical-mercator
usage
var reproject = require('reproject-spherical-mercator');
var reprojected-geojson = reproject(wgs84-geojson);license
This project is licensed under the terms of the MIT license.