diff --git a/mapbox/mapbox.d.ts b/mapbox/mapbox.d.ts index 3c774bdf6..1d4d7e19f 100644 --- a/mapbox/mapbox.d.ts +++ b/mapbox/mapbox.d.ts @@ -18,8 +18,8 @@ declare module L.mapbox { /** * Create and automatically configure a map with layers, markers, and interactivity. */ - function map(element: string, id: string, options?: MapOptions): L.mapbox.Map; - function map(element: string, tilejson: any, options?: MapOptions): L.mapbox.Map; + function map(element: string|Element, id: string, options?: MapOptions): L.mapbox.Map; + function map(element: string|Element, tilejson: any, options?: MapOptions): L.mapbox.Map; interface MapOptions extends L.Map.MapOptions { featureLayer? : FeatureLayerOptions;