From 3ac74fcfdaea68e7467d9cc0a15a30b540bec94a Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 15 Aug 2013 13:09:33 -0400 Subject: [PATCH] Add icon defaults to leaflet. --- leaflet/leaflet.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index 256e1b868..055ced81f 100644 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -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 {