@types/leaflet
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -244,3 +244,2 @@ // Type definitions for Leaflet.js 1.2 | ||
/* tslint:disable:unified-signatures */ // With an eventMap there are no additional arguments allowed | ||
/** | ||
@@ -252,2 +251,4 @@ * Removes a previously added listener function. If no function is specified, | ||
*/ | ||
// With an eventMap there are no additional arguments allowed | ||
// tslint:disable-next-line:unified-signatures | ||
off(type: string, fn?: LeafletEventHandlerFn, context?: any): this; | ||
@@ -258,4 +259,5 @@ | ||
*/ | ||
// With an eventMap there are no additional arguments allowed | ||
// tslint:disable-next-line:unified-signatures | ||
off(eventMap: LeafletEventHandlerFnMap): this; | ||
/* tslint:enable */ | ||
/** | ||
@@ -673,3 +675,4 @@ * Removes all listeners to all events on the object. | ||
export class LayerGroup<P = any> extends Layer { | ||
constructor(layers?: Layer[]); | ||
constructor(layers?: Layer[], options?: LayerOptions); | ||
/** | ||
@@ -736,5 +739,5 @@ * Returns a GeoJSON representation of the layer group (as a GeoJSON GeometryCollection, GeoJSONFeatureCollection or Multipoint). | ||
/** | ||
* Create a layer group, optionally given an initial set of layers. | ||
* Create a layer group, optionally given an initial set of layers and an `options` object. | ||
*/ | ||
export function layerGroup(layers: Layer[]): LayerGroup; | ||
export function layerGroup(layers?: Layer[], options?: LayerOptions): LayerGroup; | ||
@@ -1136,5 +1139,4 @@ /** | ||
/* tslint:disable:no-empty-interface */ // This is not empty, it extends two interfaces into one... | ||
// This is not empty, it extends two interfaces into one... | ||
export interface ZoomPanOptions extends ZoomOptions, PanOptions {} | ||
/* tslint:enable */ | ||
@@ -1141,0 +1143,0 @@ export interface FitBoundsOptions extends ZoomOptions, PanOptions { |
{ | ||
"name": "@types/leaflet", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "TypeScript definitions for Leaflet.js", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "2caa10d9bbd1f247ca2974fb92ad9451a16b934acf2faceaaa64d4126680d486", | ||
"typesPublisherContentHash": "86d932ec7d8239771eae0f8fb2ee87dae81a7648ef099739ceb20274e87138b2", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 09 Nov 2017 22:14:16 GMT | ||
* Last updated: Thu, 30 Nov 2017 21:46:00 GMT | ||
* Dependencies: geojson | ||
@@ -14,0 +14,0 @@ * Global values: L |
Sorry, the diff of this file is not supported yet
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
1266
50609