@types/mapbox-gl
Advanced tools
Comparing version 0.35.2 to 0.38.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Mapbox GL JS v0.35.1 | ||
// Type definitions for Mapbox GL JS v0.38.0 | ||
// Project: https://github.com/mapbox/mapbox-gl-js | ||
@@ -60,2 +60,4 @@ // Definitions by: Dominik Bruderer <https://github.com/dobrud> | ||
isStyleLoaded(): boolean; | ||
addSource(id: string, source: VectorSource | RasterSource | GeoJSONSource | ImageSource | VideoSource | GeoJSONSourceRaw): this; | ||
@@ -65,2 +67,4 @@ | ||
areTilesLoaded(): boolean; | ||
removeSource(id: string): this; | ||
@@ -257,3 +261,3 @@ | ||
export class PaddingOptions extends Evented { | ||
export interface PaddingOptions { | ||
top: number; | ||
@@ -606,4 +610,2 @@ bottom: number; | ||
wrapToBestWorld(center: mapboxgl.LngLat): mapboxgl.LngLat; | ||
/** Return a LngLat as an array */ | ||
@@ -610,0 +612,0 @@ toArray(): number[]; |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "0.35.2", | ||
"version": "0.38.0", | ||
"description": "TypeScript definitions for Mapbox GL JS", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "18159c501b2bca5b64dfc588928721f646377d8cfefc5719acff823728d13b79", | ||
"typesPublisherContentHash": "64b296f6db48c876968523c24af1a6256bc7b16bbad84cdf3e67648c1bed56eb", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 05 Jun 2017 19:55:52 GMT | ||
* Last updated: Thu, 15 Jun 2017 22:02:56 GMT | ||
* Dependencies: geojson | ||
@@ -14,0 +14,0 @@ * Global values: mapboxgl |
774
28248