Skip to content

Commit 16a27f8

Browse files
committed
Minor Fix - titler _limit params
1 parent 343bfae commit 16a27f8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js

+15-15
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ var colorFilterExtension = {
5252
url.indexOf('?') === -1 ? '?' : '&'
5353
}colormap_name=${this.options.cogColormap}`
5454
}
55+
}
5556

56-
if (mmgisglobal.options?.stac?.mosaicItemLimit != null) {
57-
url += `${url.indexOf('?') === -1 ? '?' : '&'}items_limit=${
58-
mmgisglobal.options.stac.mosaicItemLimit
59-
}`
60-
}
61-
if (mmgisglobal.options?.stac?.mosaicScanLimit != null) {
62-
url += `${url.indexOf('?') === -1 ? '?' : '&'}scan_limit=${
63-
mmgisglobal.options.stac.mosaicScanLimit
64-
}`
65-
}
66-
if (mmgisglobal.options?.stac?.mosaicTimeLimit != null) {
67-
url += `${url.indexOf('?') === -1 ? '?' : '&'}time_limit=${
68-
mmgisglobal.options.stac.mosaicTimeLimit
69-
}`
70-
}
57+
if (mmgisglobal.options?.stac?.mosaicItemLimit != null) {
58+
url += `${url.indexOf('?') === -1 ? '?' : '&'}items_limit=${
59+
mmgisglobal.options.stac.mosaicItemLimit
60+
}`
61+
}
62+
if (mmgisglobal.options?.stac?.mosaicScanLimit != null) {
63+
url += `${url.indexOf('?') === -1 ? '?' : '&'}scan_limit=${
64+
mmgisglobal.options.stac.mosaicScanLimit
65+
}`
66+
}
67+
if (mmgisglobal.options?.stac?.mosaicTimeLimit != null) {
68+
url += `${url.indexOf('?') === -1 ? '?' : '&'}time_limit=${
69+
mmgisglobal.options.stac.mosaicTimeLimit
70+
}`
7171
}
7272
}
7373

0 commit comments

Comments
 (0)