Leaflet: Wrong syntax.

This commit is contained in:
Erik Krogh Kristensen
2016-02-01 17:03:20 +01:00
parent 717a5fdb07
commit 5c5e202bce
+3 -3
View File
@@ -513,7 +513,7 @@ declare module L {
/**
* Creates a control with the given options.
*/
function (options?: ControlOptions): Control;
(options?: ControlOptions): Control;
}
export namespace control {
@@ -2442,7 +2442,7 @@ declare namespace L {
options: Map.MapOptions;
/**
* Iterates over the layers of the map, optionally specifying context
* Iterates over the layers of the map, optionally specifying context
* of the iterator function.
*/
eachLayer(fn: (layer: ILayer) => void, context?: any): Map;
@@ -4182,7 +4182,7 @@ declare namespace L {
* When this option is set, the TileLayer only loads tiles that are in the given geographical bounds.
*/
bounds?: LatLngBounds;
/**
* Custom keys may be specified in TileLayerOptions so they can be used in a provided URL template.
*/