JSPM

reproject-spherical-mercator

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 347
  • Score
    100M100P100Q101591F
  • License MIT

Reproject geojson geometry from WGS84 to Spherical Mercator

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.