Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

viewport-mercator-project

Package Overview
Dependencies
Maintainers
12
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewport-mercator-project - npm Package Compare versions

Comparing version 6.3.0-alpha.0 to 7.0.0-alpha.1

index.js

75

package.json
{
"name": "viewport-mercator-project",
"version": "6.3.0-alpha.0",
"description": "Utilities for perspective-enabled Web Mercator projections",
"author": "Uber Technologies, Inc.",
"license": "MIT",
"version": "7.0.0-alpha.1",
"keywords": [
"webgl",
"javascript",
"math",
"geospatial",
"cartographic",
"projection",
"web mercator",
"geographic"
],
"repository": {
"type": "git",
"url": "git+https://github.com/uber-common/viewport-mercator-project.git"
"url": "https://github.com/uber-web/math.gl.git"
},
"homepage": "https://github.com/uber-common/viewport-mercator-project#readme",
"main": "dist/es5/index.js",
"module": "dist/esm/index.js",
"esnext": "dist/es6/index.js",
"files": [
"src",
"dist"
"index.js",
"module.js"
],
"sideEffects": false,
"scripts": {
"start": "npm run test",
"clean": "rm -fr dist && mkdir -p dist/es5 dist/esm dist/es6",
"build": "npm run clean && ./scripts/build.sh && ./scripts/collect-metrics.sh",
"lint": "eslint src test examples && npm run lint-yarn",
"lint-yarn": "!(grep -q unpm.u yarn.lock) || (echo 'Please rebuild yarn file using public npmrc' && false)",
"precommit": "npm test",
"publish-prod": "npm run build && npm run test && npm publish",
"publish-beta": "npm run build && npm run test && npm publish --tag beta",
"test": "npm run lint && npm run test-node && ./scripts/build.sh",
"test-fast": "npm run test-node",
"test-node": "node test/node.js",
"test-browser": "webpack-dev-server --config test/webpack.config.js --env.testBrowser --progress --hot --open",
"test-bundle-size": "./scripts/build.sh && webpack --config test/webpack.config.js --env.analyze --env.es6"
},
"main": "index.js",
"module": "module.js",
"dependencies": {
"@babel/runtime": "^7.0.0",
"gl-matrix": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@turf/destination": "^5.0.4",
"babel-eslint": "^6.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-version-inline": "^1.0.0",
"eslint": "^3.0.0",
"eslint-config-uber-es2015": "^3.0.0",
"faucet": "0.0.1",
"html-webpack-plugin": "^3.0.7",
"jsdom": "~9.9.1",
"mapbox-gl": "~0.49.0",
"math.gl": "^2.1.0",
"mock-browser": "^0.92.14",
"module-alias": "^2.0.0",
"pre-commit": "^1.2.2",
"reify": "^0.5.4",
"round-precision": "^1.0.0",
"sinon": "^1.17.7",
"source-map-loader": "^0.2.3",
"tap-browser-color": "^0.1.2",
"tape": "^4.6.0",
"tape-catch": "^1.0.4",
"webpack": "^4.3.0",
"webpack-bundle-analyzer": "^2.11.1",
"webpack-cli": "^2.0.13",
"webpack-dev-server": "^3.1.1"
"@math.gl/web-mercator": "^3.0.0"
}
}

@@ -1,22 +0,9 @@

<p align="right">
<a href="https://npmjs.org/package/viewport-mercator-project">
<img src="https://img.shields.io/npm/v/viewport-mercator-project.svg?style=flat-square" alt="version" />
</a>
<a href="https://travis-ci.org/uber/viewport-mercator-project">
<img src="https://img.shields.io/travis/uber/viewport-mercator-project/master.svg?style=flat-square" alt="build" />
</a>
<a href="https://npmjs.org/package/viewport-mercator-project">
<img src="https://img.shields.io/npm/dm/viewport-mercator-project.svg?style=flat-square" alt="downloads" />
</a>
<a href="http://starveller.sigsev.io/uber/viewport-mercator-project">
<img src="http://starveller.sigsev.io/api/repos/uber/viewport-mercator-project/badge" alt="stars" />
</a>
</p>
# viewport-mercator-project
# viewport-mercator-project | [Docs](http://uber-common.github.io/viewport-mercator-project/#/documentation/overview)
> The [viewport-mercator-project module](https://github.com/uber-common/viewport-mercator-project) was moved to `@math.gl/web-mercator` on October 1, 2019.
Projection and camera utilities supporting the Web Mercator Projection. At its core this is a utility for converting to and from map coordinates (i.e. latitude, longitude) to screen coordinates and back.
[math.gl](https://math.gl/docs) is a suite of math modules for 3D and geospatial applications.
## Who is this for?
This module contains utilities for perspective-enabled Web Mercator projections.
Specifically built for use with [deck.gl](https://github.com/uber/deck.gl) and [react-map-gl](https://github.com/uber/react-map-gl), but could be useful for any web mapping application that wants to support perspective enabled Web Mercator Projections with floating point zoom levels.
For documentation please visit the [website](https://math.gl).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc