@opengeoweb/webmap-react 9.10.2 → 9.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +141 -136
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { legendImageStore, WMImageEventType, webmapUtils, getLegendGraphicURLForLayer,
|
|
3
|
+
import { legendImageStore, WMImageEventType, webmapUtils, getLegendGraphicURLForLayer, getWMJSMapById, debugLogger, DebugType, LayerType, WMLayer, registerWMLayer, WMBBOX, getWMLayerById, WMJSMap, tilesettings } from '@opengeoweb/webmap';
|
|
4
4
|
import { CustomTooltip, CanvasComponent, ToolContainerDraggable, dateUtils, CustomIconButton } from '@opengeoweb/shared';
|
|
5
5
|
import { Paper, Box, Typography, Grid, TextField, FormControl, InputLabel, Select, MenuItem, Icon as Icon$1, FormLabel, Switch, styled, Slider } from '@mui/material';
|
|
6
6
|
import _, { cloneDeep } from 'lodash';
|
|
@@ -1987,62 +1987,33 @@ $$b({ global: true, forced: parseInt !== $parseInt }, {
|
|
|
1987
1987
|
parseInt: $parseInt
|
|
1988
1988
|
});
|
|
1989
1989
|
|
|
1990
|
-
var
|
|
1991
|
-
|
|
1992
|
-
// `RegExp.prototype.flags` getter implementation
|
|
1993
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1994
|
-
var regexpFlags = function () {
|
|
1995
|
-
var that = anObject$6(this);
|
|
1996
|
-
var result = '';
|
|
1997
|
-
if (that.hasIndices) result += 'd';
|
|
1998
|
-
if (that.global) result += 'g';
|
|
1999
|
-
if (that.ignoreCase) result += 'i';
|
|
2000
|
-
if (that.multiline) result += 'm';
|
|
2001
|
-
if (that.dotAll) result += 's';
|
|
2002
|
-
if (that.unicode) result += 'u';
|
|
2003
|
-
if (that.unicodeSets) result += 'v';
|
|
2004
|
-
if (that.sticky) result += 'y';
|
|
2005
|
-
return result;
|
|
2006
|
-
};
|
|
2007
|
-
|
|
2008
|
-
var call$7 = functionCall;
|
|
2009
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
2010
|
-
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
2011
|
-
var regExpFlags = regexpFlags;
|
|
2012
|
-
|
|
2013
|
-
var RegExpPrototype$1 = RegExp.prototype;
|
|
1990
|
+
var classof$4 = classofRaw$2;
|
|
2014
1991
|
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
1992
|
+
// `IsArray` abstract operation
|
|
1993
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
1994
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1995
|
+
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
1996
|
+
return classof$4(argument) === 'Array';
|
|
2019
1997
|
};
|
|
2020
1998
|
|
|
2021
|
-
var
|
|
2022
|
-
var
|
|
2023
|
-
var
|
|
2024
|
-
var $toString = toString$4;
|
|
2025
|
-
var fails$5 = fails$i;
|
|
2026
|
-
var getRegExpFlags = regexpGetFlags;
|
|
2027
|
-
|
|
2028
|
-
var TO_STRING = 'toString';
|
|
2029
|
-
var RegExpPrototype = RegExp.prototype;
|
|
2030
|
-
var nativeToString = RegExpPrototype[TO_STRING];
|
|
1999
|
+
var $$a = _export;
|
|
2000
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2001
|
+
var isArray = isArray$1;
|
|
2031
2002
|
|
|
2032
|
-
var
|
|
2033
|
-
|
|
2034
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
2003
|
+
var nativeReverse = uncurryThis$6([].reverse);
|
|
2004
|
+
var test$1 = [1, 2];
|
|
2035
2005
|
|
|
2036
|
-
// `
|
|
2037
|
-
// https://tc39.es/ecma262/#sec-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
}
|
|
2006
|
+
// `Array.prototype.reverse` method
|
|
2007
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reverse
|
|
2008
|
+
// fix for Safari 12.0 bug
|
|
2009
|
+
// https://bugs.webkit.org/show_bug.cgi?id=188794
|
|
2010
|
+
$$a({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, {
|
|
2011
|
+
reverse: function reverse() {
|
|
2012
|
+
// eslint-disable-next-line no-self-assign -- dirty hack
|
|
2013
|
+
if (isArray(this)) this.length = this.length;
|
|
2014
|
+
return nativeReverse(this);
|
|
2015
|
+
}
|
|
2016
|
+
});
|
|
2046
2017
|
|
|
2047
2018
|
var tryToString$3 = tryToString$5;
|
|
2048
2019
|
|
|
@@ -2052,9 +2023,9 @@ var deletePropertyOrThrow$1 = function (O, P) {
|
|
|
2052
2023
|
if (!delete O[P]) throw new $TypeError$8('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
2053
2024
|
};
|
|
2054
2025
|
|
|
2055
|
-
var uncurryThis$
|
|
2026
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2056
2027
|
|
|
2057
|
-
var arraySlice$2 = uncurryThis$
|
|
2028
|
+
var arraySlice$2 = uncurryThis$5([].slice);
|
|
2058
2029
|
|
|
2059
2030
|
var arraySlice$1 = arraySlice$2;
|
|
2060
2031
|
|
|
@@ -2098,11 +2069,11 @@ var sort = function (array, comparefn) {
|
|
|
2098
2069
|
|
|
2099
2070
|
var arraySort = sort;
|
|
2100
2071
|
|
|
2101
|
-
var fails$
|
|
2072
|
+
var fails$5 = fails$i;
|
|
2102
2073
|
|
|
2103
2074
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
2104
2075
|
var method = [][METHOD_NAME];
|
|
2105
|
-
return !!method && fails$
|
|
2076
|
+
return !!method && fails$5(function () {
|
|
2106
2077
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
2107
2078
|
method.call(null, argument || function () { return 1; }, 1);
|
|
2108
2079
|
});
|
|
@@ -2124,14 +2095,14 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
2124
2095
|
|
|
2125
2096
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
2126
2097
|
|
|
2127
|
-
var $$
|
|
2128
|
-
var uncurryThis$
|
|
2098
|
+
var $$9 = _export;
|
|
2099
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2129
2100
|
var aCallable$7 = aCallable$a;
|
|
2130
2101
|
var toObject$1 = toObject$5;
|
|
2131
2102
|
var lengthOfArrayLike$2 = lengthOfArrayLike$4;
|
|
2132
2103
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
2133
2104
|
var toString$1 = toString$4;
|
|
2134
|
-
var fails$
|
|
2105
|
+
var fails$4 = fails$i;
|
|
2135
2106
|
var internalSort = arraySort;
|
|
2136
2107
|
var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
|
|
2137
2108
|
var FF = engineFfVersion;
|
|
@@ -2139,22 +2110,22 @@ var IE_OR_EDGE = engineIsIeOrEdge;
|
|
|
2139
2110
|
var V8 = engineV8Version;
|
|
2140
2111
|
var WEBKIT = engineWebkitVersion;
|
|
2141
2112
|
|
|
2142
|
-
var test
|
|
2143
|
-
var nativeSort = uncurryThis$
|
|
2144
|
-
var push = uncurryThis$
|
|
2113
|
+
var test = [];
|
|
2114
|
+
var nativeSort = uncurryThis$4(test.sort);
|
|
2115
|
+
var push = uncurryThis$4(test.push);
|
|
2145
2116
|
|
|
2146
2117
|
// IE8-
|
|
2147
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
2148
|
-
test
|
|
2118
|
+
var FAILS_ON_UNDEFINED = fails$4(function () {
|
|
2119
|
+
test.sort(undefined);
|
|
2149
2120
|
});
|
|
2150
2121
|
// V8 bug
|
|
2151
|
-
var FAILS_ON_NULL = fails$
|
|
2152
|
-
test
|
|
2122
|
+
var FAILS_ON_NULL = fails$4(function () {
|
|
2123
|
+
test.sort(null);
|
|
2153
2124
|
});
|
|
2154
2125
|
// Old WebKit
|
|
2155
2126
|
var STRICT_METHOD = arrayMethodIsStrict$1('sort');
|
|
2156
2127
|
|
|
2157
|
-
var STABLE_SORT = !fails$
|
|
2128
|
+
var STABLE_SORT = !fails$4(function () {
|
|
2158
2129
|
// feature detection can be too slow, so check engines versions
|
|
2159
2130
|
if (V8) return V8 < 70;
|
|
2160
2131
|
if (FF && FF > 3) return;
|
|
@@ -2175,14 +2146,14 @@ var STABLE_SORT = !fails$3(function () {
|
|
|
2175
2146
|
}
|
|
2176
2147
|
|
|
2177
2148
|
for (index = 0; index < 47; index++) {
|
|
2178
|
-
test
|
|
2149
|
+
test.push({ k: chr + index, v: value });
|
|
2179
2150
|
}
|
|
2180
2151
|
}
|
|
2181
2152
|
|
|
2182
|
-
test
|
|
2153
|
+
test.sort(function (a, b) { return b.v - a.v; });
|
|
2183
2154
|
|
|
2184
|
-
for (index = 0; index < test
|
|
2185
|
-
chr = test
|
|
2155
|
+
for (index = 0; index < test.length; index++) {
|
|
2156
|
+
chr = test[index].k.charAt(0);
|
|
2186
2157
|
if (result.charAt(result.length - 1) !== chr) result += chr;
|
|
2187
2158
|
}
|
|
2188
2159
|
|
|
@@ -2202,7 +2173,7 @@ var getSortCompare = function (comparefn) {
|
|
|
2202
2173
|
|
|
2203
2174
|
// `Array.prototype.sort` method
|
|
2204
2175
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
2205
|
-
$$
|
|
2176
|
+
$$9({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
2206
2177
|
sort: function sort(comparefn) {
|
|
2207
2178
|
if (comparefn !== undefined) aCallable$7(comparefn);
|
|
2208
2179
|
|
|
@@ -2230,33 +2201,62 @@ $$a({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
2230
2201
|
}
|
|
2231
2202
|
});
|
|
2232
2203
|
|
|
2233
|
-
var
|
|
2204
|
+
var anObject$6 = anObject$c;
|
|
2234
2205
|
|
|
2235
|
-
// `
|
|
2236
|
-
// https://tc39.es/ecma262/#sec-
|
|
2237
|
-
|
|
2238
|
-
var
|
|
2239
|
-
|
|
2206
|
+
// `RegExp.prototype.flags` getter implementation
|
|
2207
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2208
|
+
var regexpFlags = function () {
|
|
2209
|
+
var that = anObject$6(this);
|
|
2210
|
+
var result = '';
|
|
2211
|
+
if (that.hasIndices) result += 'd';
|
|
2212
|
+
if (that.global) result += 'g';
|
|
2213
|
+
if (that.ignoreCase) result += 'i';
|
|
2214
|
+
if (that.multiline) result += 'm';
|
|
2215
|
+
if (that.dotAll) result += 's';
|
|
2216
|
+
if (that.unicode) result += 'u';
|
|
2217
|
+
if (that.unicodeSets) result += 'v';
|
|
2218
|
+
if (that.sticky) result += 'y';
|
|
2219
|
+
return result;
|
|
2240
2220
|
};
|
|
2241
2221
|
|
|
2242
|
-
var
|
|
2243
|
-
var
|
|
2244
|
-
var
|
|
2222
|
+
var call$7 = functionCall;
|
|
2223
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2224
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
2225
|
+
var regExpFlags = regexpFlags;
|
|
2245
2226
|
|
|
2246
|
-
var
|
|
2247
|
-
var test = [1, 2];
|
|
2227
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
|
2248
2228
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2229
|
+
var regexpGetFlags = function (R) {
|
|
2230
|
+
var flags = R.flags;
|
|
2231
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
|
|
2232
|
+
? call$7(regExpFlags, R) : flags;
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
2236
|
+
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
2237
|
+
var anObject$5 = anObject$c;
|
|
2238
|
+
var $toString = toString$4;
|
|
2239
|
+
var fails$3 = fails$i;
|
|
2240
|
+
var getRegExpFlags = regexpGetFlags;
|
|
2241
|
+
|
|
2242
|
+
var TO_STRING = 'toString';
|
|
2243
|
+
var RegExpPrototype = RegExp.prototype;
|
|
2244
|
+
var nativeToString = RegExpPrototype[TO_STRING];
|
|
2245
|
+
|
|
2246
|
+
var NOT_GENERIC = fails$3(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
2247
|
+
// FF44- RegExp#toString has a wrong name
|
|
2248
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
2249
|
+
|
|
2250
|
+
// `RegExp.prototype.toString` method
|
|
2251
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2252
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2253
|
+
defineBuiltIn$2(RegExpPrototype, TO_STRING, function toString() {
|
|
2254
|
+
var R = anObject$5(this);
|
|
2255
|
+
var pattern = $toString(R.source);
|
|
2256
|
+
var flags = $toString(getRegExpFlags(R));
|
|
2257
|
+
return '/' + pattern + '/' + flags;
|
|
2258
|
+
}, { unsafe: true });
|
|
2259
|
+
}
|
|
2260
2260
|
|
|
2261
2261
|
/* *
|
|
2262
2262
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -4066,7 +4066,11 @@ class MapDraw extends React.PureComponent {
|
|
|
4066
4066
|
}
|
|
4067
4067
|
}
|
|
4068
4068
|
drawIcon(ctx, _coord, featureProperties) {
|
|
4069
|
-
const
|
|
4069
|
+
const {
|
|
4070
|
+
mapId
|
|
4071
|
+
} = this.props;
|
|
4072
|
+
const webmapjs = webmapUtils.getWMJSMapById(mapId);
|
|
4073
|
+
const image = webmapjs.getMapImageStore.getImage(featureProperties.imageURL);
|
|
4070
4074
|
if (image.isLoaded() === false && image.hasError() === false && image.isLoading() === false) {
|
|
4071
4075
|
image.load();
|
|
4072
4076
|
/* After the image is loaded the canvas will be redrawn and drawIcon will be triggered again
|
|
@@ -6187,6 +6191,28 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
6187
6191
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
6188
6192
|
};
|
|
6189
6193
|
|
|
6194
|
+
var $$8 = _export;
|
|
6195
|
+
var $includes = arrayIncludes.includes;
|
|
6196
|
+
var fails$2 = fails$i;
|
|
6197
|
+
var addToUnscopables = addToUnscopables$2;
|
|
6198
|
+
|
|
6199
|
+
// FF99+ bug
|
|
6200
|
+
var BROKEN_ON_SPARSE = fails$2(function () {
|
|
6201
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
6202
|
+
return !Array(1).includes();
|
|
6203
|
+
});
|
|
6204
|
+
|
|
6205
|
+
// `Array.prototype.includes` method
|
|
6206
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
6207
|
+
$$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
6208
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
6209
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
6210
|
+
}
|
|
6211
|
+
});
|
|
6212
|
+
|
|
6213
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6214
|
+
addToUnscopables('includes');
|
|
6215
|
+
|
|
6190
6216
|
var aCallable$6 = aCallable$a;
|
|
6191
6217
|
var toObject = toObject$5;
|
|
6192
6218
|
var IndexedObject = indexedObject;
|
|
@@ -6235,7 +6261,7 @@ var classof$3 = classofRaw$2;
|
|
|
6235
6261
|
|
|
6236
6262
|
var engineIsNode = classof$3(global$7.process) === 'process';
|
|
6237
6263
|
|
|
6238
|
-
var $$
|
|
6264
|
+
var $$7 = _export;
|
|
6239
6265
|
var $reduce = arrayReduce.left;
|
|
6240
6266
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
6241
6267
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -6248,7 +6274,7 @@ var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
|
|
6248
6274
|
|
|
6249
6275
|
// `Array.prototype.reduce` method
|
|
6250
6276
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
6251
|
-
$$
|
|
6277
|
+
$$7({ target: 'Array', proto: true, forced: FORCED }, {
|
|
6252
6278
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
6253
6279
|
var length = arguments.length;
|
|
6254
6280
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -6292,7 +6318,7 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
6292
6318
|
};
|
|
6293
6319
|
|
|
6294
6320
|
var uncurryThis$3 = functionUncurryThis;
|
|
6295
|
-
var fails$
|
|
6321
|
+
var fails$1 = fails$i;
|
|
6296
6322
|
var isCallable$4 = isCallable$j;
|
|
6297
6323
|
var classof$2 = classof$6;
|
|
6298
6324
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
@@ -6335,7 +6361,7 @@ isConstructorLegacy.sham = true;
|
|
|
6335
6361
|
|
|
6336
6362
|
// `IsConstructor` abstract operation
|
|
6337
6363
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
6338
|
-
var isConstructor$1 = !construct || fails$
|
|
6364
|
+
var isConstructor$1 = !construct || fails$1(function () {
|
|
6339
6365
|
var called;
|
|
6340
6366
|
return isConstructorModern(isConstructorModern.call)
|
|
6341
6367
|
|| !isConstructorModern(Object)
|
|
@@ -6421,7 +6447,7 @@ var apply = functionApply;
|
|
|
6421
6447
|
var bind$3 = functionBindContext;
|
|
6422
6448
|
var isCallable$3 = isCallable$j;
|
|
6423
6449
|
var hasOwn = hasOwnProperty_1;
|
|
6424
|
-
var fails
|
|
6450
|
+
var fails = fails$i;
|
|
6425
6451
|
var html = html$2;
|
|
6426
6452
|
var arraySlice = arraySlice$2;
|
|
6427
6453
|
var createElement = documentCreateElement$2;
|
|
@@ -6441,7 +6467,7 @@ var queue$2 = {};
|
|
|
6441
6467
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
6442
6468
|
var $location, defer, channel, port;
|
|
6443
6469
|
|
|
6444
|
-
fails
|
|
6470
|
+
fails(function () {
|
|
6445
6471
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
6446
6472
|
$location = global$6.location;
|
|
6447
6473
|
});
|
|
@@ -6508,7 +6534,7 @@ if (!set || !clear) {
|
|
|
6508
6534
|
isCallable$3(global$6.postMessage) &&
|
|
6509
6535
|
!global$6.importScripts &&
|
|
6510
6536
|
$location && $location.protocol !== 'file:' &&
|
|
6511
|
-
!fails
|
|
6537
|
+
!fails(globalPostMessageDefer)
|
|
6512
6538
|
) {
|
|
6513
6539
|
defer = globalPostMessageDefer;
|
|
6514
6540
|
global$6.addEventListener('message', eventListener, false);
|
|
@@ -6755,7 +6781,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
6755
6781
|
return new PromiseCapability(C);
|
|
6756
6782
|
};
|
|
6757
6783
|
|
|
6758
|
-
var $$
|
|
6784
|
+
var $$6 = _export;
|
|
6759
6785
|
var IS_NODE = engineIsNode;
|
|
6760
6786
|
var global$1 = global$k;
|
|
6761
6787
|
var call$5 = functionCall;
|
|
@@ -7035,7 +7061,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
7035
7061
|
}
|
|
7036
7062
|
}
|
|
7037
7063
|
|
|
7038
|
-
$$
|
|
7064
|
+
$$6({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
7039
7065
|
Promise: PromiseConstructor
|
|
7040
7066
|
});
|
|
7041
7067
|
|
|
@@ -7223,7 +7249,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
7223
7249
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
7224
7250
|
});
|
|
7225
7251
|
|
|
7226
|
-
var $$
|
|
7252
|
+
var $$5 = _export;
|
|
7227
7253
|
var call$1 = functionCall;
|
|
7228
7254
|
var aCallable$1 = aCallable$a;
|
|
7229
7255
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
@@ -7233,7 +7259,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
7233
7259
|
|
|
7234
7260
|
// `Promise.all` method
|
|
7235
7261
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
7236
|
-
$$
|
|
7262
|
+
$$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
7237
7263
|
all: function all(iterable) {
|
|
7238
7264
|
var C = this;
|
|
7239
7265
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
@@ -7262,7 +7288,7 @@ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
7262
7288
|
}
|
|
7263
7289
|
});
|
|
7264
7290
|
|
|
7265
|
-
var $$
|
|
7291
|
+
var $$4 = _export;
|
|
7266
7292
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
7267
7293
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
7268
7294
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
@@ -7273,7 +7299,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
|
|
|
7273
7299
|
|
|
7274
7300
|
// `Promise.prototype.catch` method
|
|
7275
7301
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7276
|
-
$$
|
|
7302
|
+
$$4({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
7277
7303
|
'catch': function (onRejected) {
|
|
7278
7304
|
return this.then(undefined, onRejected);
|
|
7279
7305
|
}
|
|
@@ -7287,7 +7313,7 @@ if (isCallable(NativePromiseConstructor)) {
|
|
|
7287
7313
|
}
|
|
7288
7314
|
}
|
|
7289
7315
|
|
|
7290
|
-
var $$
|
|
7316
|
+
var $$3 = _export;
|
|
7291
7317
|
var call = functionCall;
|
|
7292
7318
|
var aCallable = aCallable$a;
|
|
7293
7319
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
@@ -7297,7 +7323,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
7297
7323
|
|
|
7298
7324
|
// `Promise.race` method
|
|
7299
7325
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
7300
|
-
$$
|
|
7326
|
+
$$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7301
7327
|
race: function race(iterable) {
|
|
7302
7328
|
var C = this;
|
|
7303
7329
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
@@ -7313,13 +7339,13 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
7313
7339
|
}
|
|
7314
7340
|
});
|
|
7315
7341
|
|
|
7316
|
-
var $$
|
|
7342
|
+
var $$2 = _export;
|
|
7317
7343
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
7318
7344
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
7319
7345
|
|
|
7320
7346
|
// `Promise.reject` method
|
|
7321
7347
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7322
|
-
$$
|
|
7348
|
+
$$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
7323
7349
|
reject: function reject(r) {
|
|
7324
7350
|
var capability = newPromiseCapabilityModule.f(this);
|
|
7325
7351
|
var capabilityReject = capability.reject;
|
|
@@ -7341,7 +7367,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
7341
7367
|
return promiseCapability.promise;
|
|
7342
7368
|
};
|
|
7343
7369
|
|
|
7344
|
-
var $$
|
|
7370
|
+
var $$1 = _export;
|
|
7345
7371
|
var getBuiltIn = getBuiltIn$7;
|
|
7346
7372
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
7347
7373
|
var promiseResolve = promiseResolve$1;
|
|
@@ -7350,34 +7376,12 @@ getBuiltIn('Promise');
|
|
|
7350
7376
|
|
|
7351
7377
|
// `Promise.resolve` method
|
|
7352
7378
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7353
|
-
$$
|
|
7379
|
+
$$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7354
7380
|
resolve: function resolve(x) {
|
|
7355
7381
|
return promiseResolve(this, x);
|
|
7356
7382
|
}
|
|
7357
7383
|
});
|
|
7358
7384
|
|
|
7359
|
-
var $$1 = _export;
|
|
7360
|
-
var $includes = arrayIncludes.includes;
|
|
7361
|
-
var fails = fails$i;
|
|
7362
|
-
var addToUnscopables = addToUnscopables$2;
|
|
7363
|
-
|
|
7364
|
-
// FF99+ bug
|
|
7365
|
-
var BROKEN_ON_SPARSE = fails(function () {
|
|
7366
|
-
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
7367
|
-
return !Array(1).includes();
|
|
7368
|
-
});
|
|
7369
|
-
|
|
7370
|
-
// `Array.prototype.includes` method
|
|
7371
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
7372
|
-
$$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
7373
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
7374
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
7375
|
-
}
|
|
7376
|
-
});
|
|
7377
|
-
|
|
7378
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7379
|
-
addToUnscopables('includes');
|
|
7380
|
-
|
|
7381
7385
|
var isObject = isObject$a;
|
|
7382
7386
|
var classof = classofRaw$2;
|
|
7383
7387
|
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
@@ -8009,6 +8013,7 @@ class ReactMapView extends React.Component {
|
|
|
8009
8013
|
if (!layerIsInThisMap) {
|
|
8010
8014
|
// Add a new layer, it is not in the this map
|
|
8011
8015
|
addWMLayerPropsBasedOnChildProps(child, _mapId, props, onUpdateLayerInformation);
|
|
8016
|
+
needsRedraw = true;
|
|
8012
8017
|
} else {
|
|
8013
8018
|
// Handle existing layer
|
|
8014
8019
|
if (child.name !== undefined && wmLayer.name !== child.name) {
|