Skip to content

Commit 7e6554d

Browse files
committed
lint fix
1 parent 53a03b2 commit 7e6554d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Layers/TiledMapLayer.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,7 @@ export const TiledMapLayer = TileLayer.extend({
5353

5454
// set the urls
5555
options = getUrlParams(options);
56-
this.tileUrl = `${
57-
(options.proxy ? `${options.proxy}?` : "") + options.url
58-
}tile/{z}/{y}/{x}${
59-
options.requestParams && Object.keys(options.requestParams).length > 0
60-
? Util.getParamString(options.requestParams)
61-
: ""
62-
}`;
56+
this.tileUrl = `${(options.proxy ? `${options.proxy}?` : "") + options.url}tile/{z}/{y}/{x}${options.requestParams && Object.keys(options.requestParams).length > 0 ? Util.getParamString(options.requestParams) : ""}`;
6357
// Remove subdomain in url
6458
// https://github.com/Esri/esri-leaflet/issues/991
6559
if (options.url.indexOf("{s}") !== -1 && options.subdomains) {

0 commit comments

Comments
 (0)