@types/mapbox-gl
Advanced tools
Comparing version 0.51.6 to 0.51.7
@@ -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 @@ */ |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51107
1184