@types/mapbox-gl
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -8,2 +8,3 @@ // Type definitions for Mapbox GL JS 1.5 | ||
// Liam Clarke <https://github.com/LiamAttClarke> | ||
// Vladimir Dashukevich <https://github.com/life777> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -22,4 +23,22 @@ // TypeScript Version: 3.0 | ||
/** | ||
* Number of web workers instantiated on a page with GL JS maps. | ||
* By default, it is set to half the number of CPU cores (capped at 6). | ||
*/ | ||
let workerCount: number; | ||
/** | ||
* Maximum number of images (raster tiles, sprites, icons) to load in parallel, which affects performance in raster-heavy maps. | ||
* 16 by default. | ||
*/ | ||
let maxParallelImageRequests: number; | ||
export function supported(options?: { failIfMajorPerformanceCaveat?: boolean }): boolean; | ||
/** | ||
* Clears browser storage used by this library. Using this method flushes the Mapbox tile cache that is managed by this library. | ||
* Tiles may still be cached by the browser in some cases. | ||
*/ | ||
export function clearStorage(callback?: (err?: Error) => void): void; | ||
export function setRTLTextPlugin(pluginURL: string, callback: (error: Error) => void): void; | ||
@@ -26,0 +45,0 @@ export function getRTLTextPluginStatus(): PluginStatus; |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "TypeScript definitions for Mapbox GL JS", | ||
@@ -31,2 +31,7 @@ "license": "MIT", | ||
"githubUsername": "LiamAttClarke" | ||
}, | ||
{ | ||
"name": "Vladimir Dashukevich", | ||
"url": "https://github.com/life777", | ||
"githubUsername": "life777" | ||
} | ||
@@ -45,4 +50,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "6e0993c0b0e9a600fde04d359aff03a4cbb599c80398f4d11ab9342fe367a83e", | ||
"typesPublisherContentHash": "573c14771f84a0c0b59a4f524cee793093cdff4e53e8be73b42aba18e9b3e763", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 01 Nov 2019 15:13:47 GMT | ||
* Last updated: Tue, 05 Nov 2019 21:50:34 GMT | ||
* Dependencies: @types/geojson | ||
@@ -17,2 +17,2 @@ * Global values: mapboxgl | ||
# Credits | ||
These definitions were written by Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr>, Karl-Aksel Puulmann <https://github.com/macobo>, Dmytro Gokun <https://github.com/dmytro-gokun>, and Liam Clarke <https://github.com/LiamAttClarke>. | ||
These definitions were written by Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr>, Karl-Aksel Puulmann <https://github.com/macobo>, Dmytro Gokun <https://github.com/dmytro-gokun>, Liam Clarke <https://github.com/LiamAttClarke>, and Vladimir Dashukevich <https://github.com/life777>. |
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
64081
1373