Merge pull request #1058 from flxf/icondefault

Leaflet Icon.Default returns an object that extends from Icon
This commit is contained in:
Diullei Gomes
2013-09-18 06:57:52 -07:00
+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 {