@types/mapbox-gl
Advanced tools
Comparing version 0.24.1 to 0.26.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Mapbox GL JS v0.24.0 | ||
// Type definitions for Mapbox GL JS v0.26.0 | ||
// Project: https://github.com/mapbox/mapbox-gl-js | ||
@@ -346,3 +346,3 @@ // Definitions by: Dominik Bruderer <https://github.com/dobrud> | ||
*/ | ||
export class Navigation extends Control { | ||
export class NavigationControl extends Control { | ||
constructor(options?: mapboxgl.ControlOptions); | ||
@@ -354,3 +354,3 @@ } | ||
*/ | ||
export class Geolocate extends Control { | ||
export class GeolocateControl extends Control { | ||
constructor(options?: mapboxgl.ControlOptions); | ||
@@ -362,3 +362,3 @@ } | ||
*/ | ||
export class Attribution extends Control { | ||
export class AttributionControl extends Control { | ||
constructor(options?: mapboxgl.ControlOptions); | ||
@@ -370,3 +370,3 @@ } | ||
*/ | ||
export class Scale extends Control { | ||
export class ScaleControl extends Control { | ||
constructor(options?: {position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left', maxWidth?: number, unit?: string}) | ||
@@ -704,2 +704,7 @@ } | ||
export class MapDataEvent { | ||
type: string; | ||
dataType: "source" | "style" | "tile"; | ||
} | ||
/** | ||
@@ -749,4 +754,8 @@ * AnimationOptions | ||
export interface MapEvent { | ||
resize?: void; | ||
webglcontextlost?: {originalEvent: WebGLContextEvent}; | ||
webglcontextrestored?: {originalEvent: WebGLContextEvent}; | ||
remove?: void; | ||
dataloading?: {data: mapboxgl.MapDataEvent}; | ||
data?: {data: mapboxgl.MapDataEvent}; | ||
render?: void; | ||
@@ -807,3 +816,4 @@ contextmenu?: {data: mapboxgl.MapMouseEvent}; | ||
base?: number; | ||
type?: "continuous" | "interval" | "categorical"; | ||
type?: "identity" | "exponential" | "interval" | "categorical"; | ||
"colorSpace"?: "rgb" | "lab" | "interval"; | ||
} | ||
@@ -831,2 +841,4 @@ | ||
"fill-pattern"?: "string"; | ||
"fill-extrude-height"?: number; | ||
"fill-extrude-base"?: number; | ||
} | ||
@@ -833,0 +845,0 @@ |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "0.24.1", | ||
"description": "TypeScript definitions for Mapbox GL JS v0.24.0", | ||
"version": "0.26.0", | ||
"description": "TypeScript definitions for Mapbox GL JS v0.26.0", | ||
"license": "MIT", | ||
@@ -16,4 +16,5 @@ "author": "Dominik Bruderer <https://github.com/dobrud>", | ||
}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "8ef17ac7fdcaf410fee1f2ca868cf9940de8ca87da5f64f929f7edc27027f37d" | ||
"typesPublisherContentHash": "91fdd6b4c00ba118cb86104532bc8628ecacfc02e34c2866d4db0868dcca0a35" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Mapbox GL JS v0.24.0 (https://github.com/mapbox/mapbox-gl-js). | ||
This package contains type definitions for Mapbox GL JS v0.26.0 (https://github.com/mapbox/mapbox-gl-js). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Fri, 23 Sep 2016 17:58:35 GMT | ||
* Last updated: Mon, 14 Nov 2016 19:34:57 GMT | ||
* File structure: OldUMD | ||
@@ -15,0 +15,0 @@ * Library Dependencies: geojson |
@@ -8,5 +8,5 @@ { | ||
"moduleDependencies": [], | ||
"libraryMajorVersion": "0", | ||
"libraryMinorVersion": "24", | ||
"libraryName": "Mapbox GL JS v0.24.0", | ||
"libraryMajorVersion": 0, | ||
"libraryMinorVersion": 26, | ||
"libraryName": "Mapbox GL JS v0.26.0", | ||
"typingsPackageName": "mapbox-gl", | ||
@@ -27,3 +27,3 @@ "projectName": "https://github.com/mapbox/mapbox-gl-js", | ||
"hasPackageJson": false, | ||
"contentHash": "8ef17ac7fdcaf410fee1f2ca868cf9940de8ca87da5f64f929f7edc27027f37d" | ||
"contentHash": "91fdd6b4c00ba118cb86104532bc8628ecacfc02e34c2866d4db0868dcca0a35" | ||
} |
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
25682
717