From bf029eae71c0d18294da0d225279a6880bad234f Mon Sep 17 00:00:00 2001 From: hlovdal Date: Wed, 12 Jun 2019 07:00:29 +0000 Subject: [PATCH] [leaflet-mouse-position] Add new wrapLng option (#35915) * Add new wrapLng options value https://github.com/danwild/Leaflet.MousePosition/pull/1 * Update Definitions by * Add new formatter options value https://github.com/danwild/Leaflet.MousePosition/pull/2 --- types/leaflet-mouse-position/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/leaflet-mouse-position/index.d.ts b/types/leaflet-mouse-position/index.d.ts index 46d48eb413..9bee491f49 100644 --- a/types/leaflet-mouse-position/index.d.ts +++ b/types/leaflet-mouse-position/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for leaflet-mouse-position 1.1 +// Type definitions for leaflet-mouse-position 1.2 // Project: https://github.com/danwild/Leaflet.MousePosition // Definitions by: Hanyon +// HÃ¥kon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -23,7 +24,9 @@ declare module 'leaflet' { numDigits?: number; lngFormatter?: (lng: number) => string; latFormatter?: (lat: number) => string; + formatter?: (lng: number, lat: number) => string; prefix?: string; + wrapLng?: boolean; } class MousePosition extends LControl {