@types/mapbox-gl
Advanced tools
Comparing version 0.43.0 to 0.43.1
@@ -164,3 +164,3 @@ // Type definitions for Mapbox GL JS v0.43.0 | ||
fitBounds(bounds: LngLatBoundsLike, options?: { linear?: boolean, easing?: Function, padding?: number | mapboxgl.PaddingOptions, offset?: PointLike, maxZoom?: number }, eventData?: mapboxgl.EventData): this; | ||
fitBounds(bounds: LngLatBoundsLike, options?: mapboxgl.FitBoundsOptions, eventData?: mapboxgl.EventData): this; | ||
@@ -408,6 +408,2 @@ jumpTo(options: mapboxgl.CameraOptions, eventData?: mapboxgl.EventData): this; | ||
export class FitBoundsOptions { | ||
maxZoom?: number; | ||
} | ||
/** | ||
@@ -877,2 +873,11 @@ * Geolocate | ||
export interface FitBoundsOptions extends mapboxgl.FlyToOptions { | ||
linear?: boolean; | ||
easing?: Function; | ||
padding?: number | mapboxgl.PaddingOptions; | ||
offset?: mapboxgl.PointLike; | ||
maxZoom?: number; | ||
maxDuration?: number; | ||
} | ||
/** | ||
@@ -879,0 +884,0 @@ * MapEvent |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "0.43.0", | ||
"version": "0.43.1", | ||
"description": "TypeScript definitions for Mapbox GL JS", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "e3b8ee1da26c24996ff78f3ee175c1b4950d37ed06a047463211213b30b1bd1f", | ||
"typesPublisherContentHash": "982d7c354115e542c871a5b87538e4a2d8b3e9f8a54aee3993d4dec0f10ad8f6", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 12 Jan 2018 18:52:17 GMT | ||
* Last updated: Tue, 23 Jan 2018 20:05:42 GMT | ||
* Dependencies: 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
34898
815