Socket
Socket
Sign inDemoInstall

@types/mapbox-gl

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mapbox-gl - npm Package Compare versions

Comparing version 0.51.6 to 0.51.7

29

mapbox-gl/index.d.ts

@@ -975,2 +975,31 @@ // Type definitions for Mapbox GL JS v0.51.0

/**
* MercatorCoordinate
*/
export class MercatorCoordinate {
/** The x component of the position. */
x: number;
/** The y component of the position. */
y: number;
/**
* The z component of the position.
*
* @default 0
*/
z?: number;
constructor(x: number, y: number, z?: number);
/** Returns the altitude in meters of the coordinate. */
toAltitude(): number;
/** Returns the LngLat for the coordinate. */
toLngLat(): LngLat;
/** Project a LngLat to a MercatorCoordinate. */
static fromLngLat(lngLatLike: LngLatLike, altitude?: number): MercatorCoordinate;
}
/**
* Marker

@@ -977,0 +1006,0 @@ */

4

mapbox-gl/package.json
{
"name": "@types/mapbox-gl",
"version": "0.51.6",
"version": "0.51.7",
"description": "TypeScript definitions for Mapbox GL JS",

@@ -34,4 +34,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "f533732c084f5a2d330edd893d86352237f8c3c3250ee1815e116c25d475dcd9",
"typesPublisherContentHash": "7c5669e4879f8f603f8b3671bc23e24b2329bd92b955994648f309720c9068bc",
"typeScriptVersion": "3.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Sat, 04 May 2019 08:35:02 GMT
* Last updated: Tue, 21 May 2019 20:01:27 GMT
* Dependencies: @types/geojson

@@ -14,0 +14,0 @@ * Global values: mapboxgl

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