@corpsmap/corpsmap 4.1.26 → 4.1.27

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.
@@ -11001,7 +11001,8 @@ const mapBasemapBundle = {
11001
11001
  folderURL: e.folderURL,
11002
11002
  groupTag: e.groupTag,
11003
11003
  layerFunction: e.layerFunction,
11004
- layerParams: e.layerParams
11004
+ layerParams: e.layerParams,
11005
+ params: e.params
11005
11006
  }), isParentOf = (e, t) => {
11006
11007
  let r = [];
11007
11008
  function a(s) {
@@ -12843,7 +12844,7 @@ const config$1 = {
12843
12844
  path: "depricated"
12844
12845
  }
12845
12846
  ]
12846
- }, version = "4.1.26", pkg = {
12847
+ }, version = "4.1.27", pkg = {
12847
12848
  version
12848
12849
  };
12849
12850
  console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
@@ -18387,7 +18388,11 @@ const bundle$k = {
18387
18388
  if (b.identifyType === "arcgisrest") {
18388
18389
  const E = b.mapLayer.getSource(), I = E.getUrl ? E.getUrl() : E.getUrls()[0], x = b.layerList;
18389
18390
  m.layers = `all:${x}`;
18390
- const S = Object.assign({}, m, { root: I }), T = formatUrl$1(S);
18391
+ const S = Object.assign({}, m, { root: I });
18392
+ b.params && b.params.layerDefs && (S.layerDefs = encodeURIComponent(
18393
+ decodeURIComponent(b.params.layerDefs)
18394
+ ));
18395
+ const T = formatUrl$1(S);
18391
18396
  y.push((N) => {
18392
18397
  r(T, (k, L, M) => {
18393
18398
  if (k || L.statusCode !== 200)
@@ -28762,7 +28767,11 @@ const ArcGisListener = {
28762
28767
  if (y.identifyType && y.identifyType === "arcgisrest") {
28763
28768
  const b = y.layerList;
28764
28769
  m.layers = `all:${b}`;
28765
- const E = Object.assign({}, m, { root: y.url }), I = formatUrl(E);
28770
+ const E = Object.assign({}, m, { root: y.url });
28771
+ y.params && y.params.layerDefs && (E.layerDefs = encodeURIComponent(
28772
+ decodeURIComponent(y.params.layerDefs)
28773
+ ));
28774
+ const I = formatUrl(E);
28766
28775
  s.push((x) => {
28767
28776
  r(I, (S, T, N) => {
28768
28777
  if (S || T.statusCode !== 200)