Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/mapbox-gl

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mapbox-gl - npm Package Compare versions

Comparing version 0.51.12 to 0.53.0

22

mapbox-gl/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Mapbox GL JS v0.51.0
// Type definitions for Mapbox GL JS v0.53.0
// Project: https://github.com/mapbox/mapbox-gl-js

@@ -7,2 +7,3 @@ // Definitions by: Dominik Bruderer <https://github.com/dobrud>

// Dmytro Gokun <https://github.com/dmytro-gokun>
// Liam Clarke <https://github.com/LiamAttClarke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -19,2 +20,3 @@ // TypeScript Version: 3.0

let version: string;
let baseApiUrl: string;

@@ -153,6 +155,8 @@ export function supported(options?: { failIfMajorPerformanceCaveat?: boolean }): boolean;

setFeatureState(feature: { source: string, sourceLayer?: string, id: string | number } | mapboxgl.MapboxGeoJSONFeature, state: { [key: string]: any }): void;
setFeatureState(feature: FeatureIdentifier | mapboxgl.MapboxGeoJSONFeature, state: { [key: string]: any }): void;
getFeatureState(feature: { source: string, sourceLayer?: string, id: string | number } | mapboxgl.MapboxGeoJSONFeature): { [key: string]: any };
getFeatureState(feature: FeatureIdentifier | mapboxgl.MapboxGeoJSONFeature): { [key: string]: any };
removeFeatureState(target: FeatureIdentifier | mapboxgl.MapboxGeoJSONFeature, key?: string): void;
getContainer(): HTMLElement;

@@ -260,2 +264,5 @@

/** The initial bounds of the map. If bounds is specified, it overrides center and zoom constructor options. */
bounds?: LngLatBoundsLike;
/** If true, enable the "box zoom" interaction (see BoxZoomHandler) */

@@ -324,2 +331,5 @@ boxZoom?: boolean;

/** A fitBounds options object to use only when setting the bounds option. */
fitBoundsOptions?: FitBoundsOptions;
/** If false, no mouse, touch, or keyboard listeners are attached to the map, so it will not respond to input */

@@ -462,2 +472,8 @@ interactive?: boolean;

export interface FeatureIdentifier {
id?: string | number,
source: string
sourceLayer?: string
}
/**

@@ -464,0 +480,0 @@ * BoxZoomHandler

9

mapbox-gl/package.json
{
"name": "@types/mapbox-gl",
"version": "0.51.12",
"version": "0.53.0",
"description": "TypeScript definitions for Mapbox GL JS",

@@ -26,2 +26,7 @@ "license": "MIT",

"githubUsername": "dmytro-gokun"
},
{
"name": "Liam Clarke",
"url": "https://github.com/LiamAttClarke",
"githubUsername": "LiamAttClarke"
}

@@ -40,4 +45,4 @@ ],

},
"typesPublisherContentHash": "8fa57fba234b94a6d918a7624b4cc01f7d832dfdab24666f2b04e5bc0532e302",
"typesPublisherContentHash": "24f72bbe69cdf9c2443c00d53f69f9149eebc3ab0ed814c6a446d92f021bed27",
"typeScriptVersion": "3.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 23 Jul 2019 19:54:59 GMT
* Last updated: Mon, 29 Jul 2019 21:18:47 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>, and Dmytro Gokun <https://github.com/dmytro-gokun>.
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>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc