mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Leaflet Icon.Default returns an object that extends from Icon
From http://leafletjs.com/reference.html#icon "L.Icon.Default extends L.Icon and is the blue icon Leaflet uses for markers by default."
This commit is contained in:
Vendored
+10
-5
@@ -1898,10 +1898,6 @@ declare module L {
|
||||
|
||||
}
|
||||
|
||||
interface IconDefaults {
|
||||
imagePath: string;
|
||||
}
|
||||
|
||||
export class Icon {
|
||||
/**
|
||||
* Creates an icon instance with the given options.
|
||||
@@ -1911,7 +1907,16 @@ declare module L {
|
||||
/**
|
||||
* Default properties for newly constructed icons.
|
||||
*/
|
||||
public static Default : IconDefaults;
|
||||
public static Default : IconDefault;
|
||||
}
|
||||
|
||||
export class IconDefault extends Icon {
|
||||
/**
|
||||
* Creates an icon instance with default options.
|
||||
*/
|
||||
constructor();
|
||||
|
||||
imagePath: string;
|
||||
}
|
||||
|
||||
export interface DivIconOptions {
|
||||
|
||||
Reference in New Issue
Block a user