mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Add icon defaults to leaflet.
This commit is contained in:
1 parent
8220ab27e7
commit
3ac74fcfda
1 file changed
+8
Vendored
+8
@@ -1898,12 +1898,20 @@ declare module L {
|
||||
|
||||
}
|
||||
|
||||
interface IconDefaults {
|
||||
imagePath: string;
|
||||
}
|
||||
|
||||
export class Icon {
|
||||
/**
|
||||
* Creates an icon instance with the given options.
|
||||
*/
|
||||
constructor(options: IconOptions);
|
||||
|
||||
/**
|
||||
* Default properties for newly constructed icons.
|
||||
*/
|
||||
public static Default : IconDefaults;
|
||||
}
|
||||
|
||||
export interface DivIconOptions {
|
||||
|
||||
Reference in new issue
Block a user