@types/mapbox-gl
Advanced tools
Comparing version 0.39.4 to 0.39.5
// Type definitions for Mapbox GL JS v0.39.1 | ||
// Project: https://github.com/mapbox/mapbox-gl-js | ||
// Definitions by: Dominik Bruderer <https://github.com/dobrud> | ||
// Definitions by: Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -398,2 +398,6 @@ | ||
} | ||
export class FitBoundsOptions { | ||
maxZoom?: number; | ||
} | ||
@@ -404,3 +408,3 @@ /** | ||
export class GeolocateControl extends Control { | ||
constructor(options?: {positionOptions?: PositionOptions, watchPosition?: boolean}); | ||
constructor(options?: {positionOptions?: PositionOptions, fitBoundsOptions?: FitBoundsOptions, trackUserLocation?: boolean, showUserLocation?: boolean}); | ||
} | ||
@@ -996,2 +1000,3 @@ | ||
"icon-rotation-alignment"?: "map" | "viewport" | "auto"; | ||
"icon-pitch-alignment"?: "map" | "viewport"| "auto"; | ||
"icon-size"?: number | StyleFunction; | ||
@@ -1070,2 +1075,3 @@ "icon-text-fit"?: "none" | "both" | "width" | "height"; | ||
"circle-pitch-scale"?: "map" | "viewport"; | ||
"circle-pitch-alignment"?: "map" | "viewport"; | ||
"circle-stroke-width"?: number | StyleFunction; | ||
@@ -1072,0 +1078,0 @@ "circle-stroke-color"?: string | StyleFunction; |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "0.39.4", | ||
"version": "0.39.5", | ||
"description": "TypeScript definitions for Mapbox GL JS", | ||
@@ -9,3 +9,9 @@ "license": "MIT", | ||
"name": "Dominik Bruderer", | ||
"url": "https://github.com/dobrud" | ||
"url": "https://github.com/dobrud", | ||
"githubUsername": "dobrud" | ||
}, | ||
{ | ||
"name": "Patrick Reames", | ||
"url": "https://github.com/patrickr", | ||
"githubUsername": "patrickr" | ||
} | ||
@@ -22,5 +28,4 @@ ], | ||
}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "e3842b9c1a24bfdcb4669a77ebd5069c7a2c92f73ec9c3c7226473833db7cfb2", | ||
"typesPublisherContentHash": "cd7016b0b158d91868427904e53b6931562c15c18f9d50c0da44bdce4a2e0a23", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 07 Aug 2017 16:21:26 GMT | ||
* Last updated: Thu, 07 Sep 2017 22:03:13 GMT | ||
* Dependencies: geojson | ||
@@ -17,2 +17,2 @@ * Global values: mapboxgl | ||
# Credits | ||
These definitions were written by Dominik Bruderer <https://github.com/dobrud>. | ||
These definitions were written by Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr>. |
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
28952
789