mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-01 17:10:04 +00:00
Merge pull request #1129 from derekcicerone/patch-19
Fix future bugs in leaflet.d.ts
This commit is contained in:
4
leaflet/leaflet.d.ts
vendored
4
leaflet/leaflet.d.ts
vendored
@@ -1581,7 +1581,7 @@ declare module L {
|
||||
* used in GeoJSON for points. If reverse is set to true, the numbers will be interpreted
|
||||
* as (longitude, latitude).
|
||||
*/
|
||||
static coordsToLatlng(coords: Array, reverse?: boolean): LatLng;
|
||||
static coordsToLatlng(coords: number[], reverse?: boolean): LatLng;
|
||||
|
||||
/**
|
||||
* Creates a multidimensional array of LatLng objects from a GeoJSON coordinates
|
||||
@@ -1589,7 +1589,7 @@ declare module L {
|
||||
* 1 for an array of arrays of points, etc., 0 by default). If reverse is set to
|
||||
* true, the numbers will be interpreted as (longitude, latitude).
|
||||
*/
|
||||
static coordsToLatlngs(coords: Array, levelsDeep?: number, reverse?: boolean): Array;
|
||||
static coordsToLatlngs(coords: number[], levelsDeep?: number, reverse?: boolean): LatLng[];
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user