mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[leaflet] small adjustments
This commit is contained in:
parent
5c2007a539
commit
bc1961484a
14
leaflet/leaflet.d.ts
vendored
14
leaflet/leaflet.d.ts
vendored
@ -2183,7 +2183,7 @@ declare module L {
|
||||
/**
|
||||
* Closes the popup previously opened with openPopup (or the given one).
|
||||
*/
|
||||
closePopup(): Map;
|
||||
closePopup(popup?: Popup): Map;
|
||||
|
||||
/**
|
||||
* Adds the given control to the map.
|
||||
@ -2416,7 +2416,7 @@ declare module L {
|
||||
*
|
||||
* Default value: true.
|
||||
*/
|
||||
scrollWheelZoom?: string;
|
||||
scrollWheelZoom?: any;
|
||||
//scrollWheelZoom?: boolean;
|
||||
//scrollWheelZoom?: string;
|
||||
|
||||
@ -2739,7 +2739,12 @@ declare module L {
|
||||
/**
|
||||
* Returns a GeoJSON representation of the marker (GeoJSON Point Feature).
|
||||
*/
|
||||
toGeoJSON(popup: Popup, options?: PopupOptions): any;
|
||||
toGeoJSON(): any;
|
||||
|
||||
/**
|
||||
* Marker dragging handler (by both mouse and touch).
|
||||
*/
|
||||
dragging: IHandler;
|
||||
|
||||
////////////
|
||||
////////////
|
||||
@ -3428,9 +3433,8 @@ declare module L {
|
||||
/**
|
||||
* Returns the content of the popup.
|
||||
*/
|
||||
getContent(): any;
|
||||
getContent(): HTMLElement;
|
||||
//getContent(): string;
|
||||
//getContent(): HTMLElement;
|
||||
|
||||
////////////
|
||||
////////////
|
||||
|
||||
Loading…
Reference in New Issue
Block a user