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:
Felix Fung
2013-09-18 04:28:00 -04:00
parent 6c7c46480d
commit ccde41a30a
+10 -5
View File
@@ -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 {