Skip to content

Commit

Permalink
Add icon defaults to leaflet.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgmiller committed Aug 15, 2013
1 parent 8220ab2 commit 3ac74fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions leaflet/leaflet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3ac74fc

Please sign in to comment.