@types/leaflet
Advanced tools
Comparing version 1.2.14 to 1.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Leaflet.js 1.2 | ||
// Type definitions for Leaflet.js 1.4 | ||
// Project: https://github.com/Leaflet/Leaflet | ||
@@ -326,3 +326,3 @@ // Definitions by: Alejandro Sánchez <https://github.com/alejo90> | ||
*/ | ||
removeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): this; | ||
removeEventListener(type: string, fn?: LeafletEventHandlerFn, context?: any): this; | ||
@@ -1185,2 +1185,8 @@ /** | ||
export interface PanInsideOptions { | ||
paddingTopLeft?: PointExpression; | ||
paddingBottomRight?: PointExpression; | ||
padding?: PointExpression; | ||
} | ||
export interface LocateOptions { | ||
@@ -1360,2 +1366,3 @@ watch?: boolean; | ||
setMaxZoom(zoom: number): this; | ||
panInside(latLng: LatLngExpression, options?: PanInsideOptions): this; | ||
panInsideBounds(bounds: LatLngBoundsExpression, options?: PanOptions): this; | ||
@@ -1362,0 +1369,0 @@ /** |
{ | ||
"name": "@types/leaflet", | ||
"version": "1.2.14", | ||
"version": "1.4.0", | ||
"description": "TypeScript definitions for Leaflet.js", | ||
@@ -33,4 +33,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "e5a2f9479ae13cfdd3d54b25dd2e6fcf8f73910555fe6f6f7446db14f8f52d1c", | ||
"typesPublisherContentHash": "c2f1af6c0a788df297b16dae61c7246b6744a22f7d84f02239ad5c1b9532322d", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 06 Nov 2018 23:45:22 GMT | ||
* Dependencies: geojson | ||
* Last updated: Tue, 22 Jan 2019 17:41:21 GMT | ||
* Dependencies: @types/geojson | ||
* Global values: L | ||
@@ -15,0 +15,0 @@ |
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
53062
1311