mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Added cardinal properties to L.LatLngBounds
Added the following property methods to the L.LatLngBounds class: getWest() getEast() getNorth() getSouth()
This commit is contained in:
20
leaflet/leaflet.d.ts
vendored
20
leaflet/leaflet.d.ts
vendored
@@ -1573,6 +1573,26 @@ declare module L {
|
||||
*/
|
||||
getSouthEast(): LatLng;
|
||||
|
||||
/**
|
||||
* Returns the west longitude in degrees of the bounds.
|
||||
*/
|
||||
getWest(): number;
|
||||
|
||||
/**
|
||||
* Returns the east longitude in degrees of the bounds.
|
||||
*/
|
||||
getEast(): number;
|
||||
|
||||
/**
|
||||
* Returns the north latitude in degrees of the bounds.
|
||||
*/
|
||||
getNorth(): number;
|
||||
|
||||
/**
|
||||
* Returns the south latitude in degrees of the bounds.
|
||||
*/
|
||||
getSouth(): number;
|
||||
|
||||
/**
|
||||
* Returns the center point of the bounds.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user