mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #6184 from ntilwalli/patch-1
Update map function to allow Element argument
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user