mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[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
This commit is contained in:
parent
683aaa657b
commit
bf029eae71
5
types/leaflet-mouse-position/index.d.ts
vendored
5
types/leaflet-mouse-position/index.d.ts
vendored
@ -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 <https://github.com/Hanyon>
|
||||
// Håkon <https://github.com/hlovdal>
|
||||
// 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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user