@vertigis/arcgis-extensions 37.5.0 → 37.7.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.
Files changed (54) hide show
  1. package/data/FeatureSet.js +1 -1
  2. package/data/FeatureSourceBase.js +1 -1
  3. package/declarations/arcgis-js-api-extensions/index.d.ts +4 -0
  4. package/docs/html/assets/search.js +1 -1
  5. package/docs/html/functions/utilities__layers.basemapsAreEquivalent.html +1 -0
  6. package/docs/html/functions/utilities__layers.hasMmapLayer.html +1 -0
  7. package/docs/html/functions/utilities__layers.isBuildingComponentSublayer.html +1 -0
  8. package/docs/html/functions/utilities__layers.isBuildingGroupSublayer.html +1 -0
  9. package/docs/html/functions/utilities__layers.isBuildingSceneLayer.html +1 -0
  10. package/docs/html/functions/utilities__layers.isCSVLayer.html +1 -0
  11. package/docs/html/functions/utilities__layers.isElevationLayer.html +1 -0
  12. package/docs/html/functions/utilities__layers.isFeatureLayer.html +1 -0
  13. package/docs/html/functions/utilities__layers.isFeatureLayerBase.html +1 -0
  14. package/docs/html/functions/utilities__layers.isGeoJSONLayer.html +1 -0
  15. package/docs/html/functions/utilities__layers.isGeoRssLayer.html +1 -0
  16. package/docs/html/functions/utilities__layers.isGraphicsLayer.html +1 -0
  17. package/docs/html/functions/utilities__layers.isGroupLayer.html +1 -0
  18. package/docs/html/functions/utilities__layers.isImageryLayer.html +1 -0
  19. package/docs/html/functions/utilities__layers.isImageryTileLayer.html +1 -0
  20. package/docs/html/functions/utilities__layers.isIntegratedMeshLayer.html +1 -0
  21. package/docs/html/functions/utilities__layers.isKMLLayer.html +1 -0
  22. package/docs/html/functions/utilities__layers.isKMLSublayer.html +1 -0
  23. package/docs/html/functions/utilities__layers.isLayer.html +1 -0
  24. package/docs/html/functions/utilities__layers.isLayerWithLegendEnabledProperty.html +1 -0
  25. package/docs/html/functions/utilities__layers.isMapImageLayer.html +1 -0
  26. package/docs/html/functions/utilities__layers.isMapImageSublayer.html +1 -0
  27. package/docs/html/functions/utilities__layers.isOpenStreetMapLayer.html +1 -0
  28. package/docs/html/functions/utilities__layers.isPointCloudLayer.html +1 -0
  29. package/docs/html/functions/utilities__layers.isSceneLayer.html +1 -0
  30. package/docs/html/functions/utilities__layers.isStreamLayer.html +1 -0
  31. package/docs/html/functions/utilities__layers.isSublayer.html +643 -0
  32. package/docs/html/functions/utilities__layers.isSubtypeGroupLayer.html +1 -0
  33. package/docs/html/functions/utilities__layers.isSubtypeSublayer.html +1 -0
  34. package/docs/html/functions/utilities__layers.isTileLayer.html +1 -0
  35. package/docs/html/functions/utilities__layers.isTiledImageServiceLayer.html +1 -0
  36. package/docs/html/functions/utilities__layers.isTiledMapServiceLayer.html +1 -0
  37. package/docs/html/functions/utilities__layers.isTimeAwareLayer.html +1 -0
  38. package/docs/html/functions/utilities__layers.isVectorTileLayer.html +1 -0
  39. package/docs/html/functions/utilities__layers.isWMSLayer.html +1 -0
  40. package/docs/html/functions/utilities__layers.isWMSSublayer.html +1 -0
  41. package/docs/html/functions/utilities__layers.isWMTSLayer.html +1 -0
  42. package/docs/html/functions/utilities__layers.isWMTSSublayer.html +1 -0
  43. package/docs/html/functions/utilities__layers.isWebTileLayer.html +1 -0
  44. package/docs/html/functions/utilities__layers.layersAreEquivalent.html +1 -0
  45. package/docs/html/interfaces/utilities_arcade.RunArcadeExpressionParams.html +10 -2
  46. package/docs/html/modules/utilities__layers.html +2 -0
  47. package/docs/html/variables/version.version.html +1 -1
  48. package/package.json +1 -1
  49. package/utilities/_layers.d.ts +7 -0
  50. package/utilities/_layers.js +1 -1
  51. package/utilities/arcade.d.ts +5 -0
  52. package/utilities/arcade.js +1 -1
  53. package/version.d.ts +1 -1
  54. package/version.js +1 -1
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="current tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="current tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="current tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -626,6 +626,7 @@
626
626
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
627
627
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
628
628
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
629
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
629
630
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
630
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
631
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -631,6 +631,7 @@ layers are considered equivalent if they have the same URL.</p>
631
631
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
632
632
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
633
633
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
634
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
634
635
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
635
636
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
636
637
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -31,7 +31,8 @@
31
31
  <div class="tsd-accordion-details">
32
32
  <section class="tsd-index-section">
33
33
  <h3 class="tsd-index-heading">Properties</h3>
34
- <div class="tsd-index-list"><a href="utilities_arcade.RunArcadeExpressionParams.html#feature" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>feature?</span></a>
34
+ <div class="tsd-index-list"><a href="utilities_arcade.RunArcadeExpressionParams.html#emitErrorOnMissingVariables" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>emit<wbr/>Error<wbr/>On<wbr/>Missing<wbr/>Variables?</span></a>
35
+ <a href="utilities_arcade.RunArcadeExpressionParams.html#feature" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>feature?</span></a>
35
36
  <a href="utilities_arcade.RunArcadeExpressionParams.html#layer" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>layer?</span></a>
36
37
  <a href="utilities_arcade.RunArcadeExpressionParams.html#map" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>map?</span></a>
37
38
  <a href="utilities_arcade.RunArcadeExpressionParams.html#spatialReference" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>spatial<wbr/>Reference?</span></a>
@@ -39,8 +40,14 @@
39
40
  </div></section></div></details></section></section>
40
41
  <section class="tsd-panel-group tsd-member-group">
41
42
  <h2>Properties</h2>
43
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="emitErrorOnMissingVariables" class="tsd-anchor"></a>
44
+ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>emit<wbr/>Error<wbr/>On<wbr/>Missing<wbr/>Variables</span><a href="#emitErrorOnMissingVariables" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
45
+ <div class="tsd-signature">emit<wbr/>Error<wbr/>On<wbr/>Missing<wbr/>Variables<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
46
+ <div class="tsd-comment tsd-typography"><p>Emit an error when the script is missing referenced variables. Defaults
47
+ to &#39;true&#39;.</p>
48
+ </div></section>
42
49
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="feature" class="tsd-anchor"></a>
43
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>feature</span><a href="#feature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
50
+ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>feature</span><a href="#feature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
44
51
  <div class="tsd-signature">feature<span class="tsd-signature-symbol">?:</span> <a href="../classes/data_Feature.Feature.html" class="tsd-signature-type" data-tsd-kind="Class">Feature</a></div>
45
52
  <div class="tsd-comment tsd-typography"><p>Optional only required when the script references the &quot;$feature&quot;
46
53
  variable.</p>
@@ -638,6 +645,7 @@ variable.</p>
638
645
  <ul>
639
646
  <li class="current tsd-kind-interface tsd-parent-kind-module"><a href="utilities_arcade.RunArcadeExpressionParams.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Run<wbr/>Arcade<wbr/>Expression<wbr/>Params</span></a>
640
647
  <ul>
648
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="utilities_arcade.RunArcadeExpressionParams.html#emitErrorOnMissingVariables" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>emit<wbr/>Error<wbr/>On<wbr/>Missing<wbr/>Variables?</a></li>
641
649
  <li class="tsd-kind-property tsd-parent-kind-interface"><a href="utilities_arcade.RunArcadeExpressionParams.html#feature" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>feature?</a></li>
642
650
  <li class="tsd-kind-property tsd-parent-kind-interface"><a href="utilities_arcade.RunArcadeExpressionParams.html#layer" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>layer?</a></li>
643
651
  <li class="tsd-kind-property tsd-parent-kind-interface"><a href="utilities_arcade.RunArcadeExpressionParams.html#map" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>map?</a></li>
@@ -52,6 +52,7 @@
52
52
  <a href="../functions/utilities__layers.isPointCloudLayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</span></a>
53
53
  <a href="../functions/utilities__layers.isSceneLayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Scene<wbr/>Layer</span></a>
54
54
  <a href="../functions/utilities__layers.isStreamLayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Stream<wbr/>Layer</span></a>
55
+ <a href="../functions/utilities__layers.isSublayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Sublayer</span></a>
55
56
  <a href="../functions/utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</span></a>
56
57
  <a href="../functions/utilities__layers.isSubtypeSublayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Subtype<wbr/>Sublayer</span></a>
57
58
  <a href="../functions/utilities__layers.isTileLayer.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr/>Tile<wbr/>Layer</span></a>
@@ -662,6 +663,7 @@
662
663
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isPointCloudLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Point<wbr/>Cloud<wbr/>Layer</a></li>
663
664
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isSceneLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Scene<wbr/>Layer</a></li>
664
665
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isStreamLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Stream<wbr/>Layer</a></li>
666
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Sublayer</a></li>
665
667
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isSubtypeGroupLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Group<wbr/>Layer</a></li>
666
668
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isSubtypeSublayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Subtype<wbr/>Sublayer</a></li>
667
669
  <li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/utilities__layers.isTileLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Tile<wbr/>Layer</a></li>
@@ -16,7 +16,7 @@
16
16
  <li><a href="../modules/version.html">version</a></li>
17
17
  <li><a href="version.version.html">version</a></li></ul>
18
18
  <h1>Variable version<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
19
- <div class="tsd-signature">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;37.5.0&quot;</span><span class="tsd-signature-symbol"> = &quot;37.5.0&quot;</span></div>
19
+ <div class="tsd-signature">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;37.7.0&quot;</span><span class="tsd-signature-symbol"> = &quot;37.7.0&quot;</span></div>
20
20
  <div class="tsd-comment tsd-typography"><p>The current version of the Geocortex ArcGIS Extensions API.</p>
21
21
  </div></div>
22
22
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vertigis/arcgis-extensions",
3
3
  "license": "SEE LICENSE IN LICENSE",
4
- "version": "37.5.0",
4
+ "version": "37.7.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://geocortex.visualstudio.com/Geocortex/_git/geocortex-api-ts"
@@ -38,6 +38,7 @@ import type { LayerExtension } from "../mapping/_LayerExtension.js";
38
38
  import type { BaseMap as BasemapJson } from "../portal/BaseMap.js";
39
39
  import { LayerBase as LayerJson } from "../portal/_LayerBase.js";
40
40
  import type { LayerWithLegendEnabledProperty } from "../portal/_layerHelper.js";
41
+ import { SublayerLike } from "../support/esri.js";
41
42
  /**
42
43
  * Determines whether two layer objects represent the equivalent layer. Two
43
44
  * layers are considered equivalent if they have the same URL.
@@ -60,6 +61,12 @@ export declare function basemapsAreEquivalent(basemap1: Basemap | BasemapJson, b
60
61
  * @param layer The layer to check.
61
62
  */
62
63
  export declare function isLayer(layer: unknown): layer is Layer;
64
+ /**
65
+ * Returns true if the layer is an ESRI Sublayer.
66
+ *
67
+ * @param sublayer The sublayer to check.
68
+ */
69
+ export declare function isSublayer(sublayer: unknown): sublayer is SublayerLike;
63
70
  /**
64
71
  * Returns true if layer is a CSVLayer.
65
72
  *
@@ -1 +1 @@
1
- import{LayerBase as LayerJson}from"../portal/_LayerBase.js";import{WellKnownBasemap}from"../support/esri.js";import{isGroupLayerExtension}from"./extensions.js";import{isBasemap}from"./mapping.js";export function layersAreEquivalent(e,r){if(e===r)return!0;const a=isLayer(e)?LayerJson.getLayerType(e):e.layerType;if(a!==(isLayer(r)?LayerJson.getLayerType(r):r.layerType))return!1;if("OpenStreetMap"===a)return!0;if("ArcGISFeatureLayer"===a){const a=isFeatureLayer(e)?`${e.url}/${e.layerId}`:e.url,s=isFeatureLayer(r)?`${r.url}/${r.layerId}`:r.url;return e.id===r.id||e.url&&urlsAreEquivalent(a,s)}return e.id===r.id||e.url&&urlsAreEquivalent(e.url,r.url)||(e.styleUrl||r.styleUrl)&&urlsAreEquivalent(e.url||e.styleUrl,r.url||r.styleUrl)||e.key&&e.key===r.key||e.urlTemplate&&urlsAreEquivalent(e.urlTemplate,r.urlTemplate)}export function basemapsAreEquivalent(e,r){if(e===r)return!0;if(!e||!r)return!1;let a,s,t,i;return isBasemap(e)?(a=e.baseLayers.toArray(),t=e.referenceLayers.toArray()):(a=e.baseMapLayers?.filter((e=>!e.isReference))??[],t=e.baseMapLayers?.filter((e=>e.isReference))??[]),isBasemap(r)?(s=r.baseLayers.toArray(),i=r.referenceLayers.toArray()):(s=r.baseMapLayers?.filter((e=>!e.isReference))??[],i=r.baseMapLayers?.filter((e=>e.isReference))??[]),a.length===s.length&&a.every(((e,r)=>layersAreEquivalent(e,s[r])))&&t.length===i.length&&t.every(((e,r)=>layersAreEquivalent(e,i[r])))}export const standardBasemaps={[WellKnownBasemap.DARK_GRAY]:{baseMapLayers:[{id:"dark-gray-base-layer",title:"World Dark Gray Base",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{isReference:!0,id:"dark-gray-reference-layer",title:"World Dark Gray Reference",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.DARK_GRAY_VECTOR]:{baseMapLayers:[{id:"dark-gray-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Dark Gray Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json"},{id:"dark-gray-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Dark Gray Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.GRAY]:{baseMapLayers:[{id:"gray-base-layer",title:"World Light Gray Base",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{isReference:!0,id:"gray-reference-layer",title:"World Light Gray Reference",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.GRAY_VECTOR]:{baseMapLayers:[{id:"gray-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Light Gray Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json"},{id:"gray-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Light Gray Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.HYBRID]:{baseMapLayers:[{id:"hybrid-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",title:"World Imagery"},{id:"hybrid-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer",title:"World Boundaries and Places",isReference:!0}]},[WellKnownBasemap.HYBRID_VECTOR]:{baseMapLayers:[{id:"hybrid-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",title:"World Imagery"},{id:"hybrid-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Hybrid Reference Layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.NATIONAL_GEOGRAPHIC]:{baseMapLayers:[{id:"national-geographic-base-layer",title:"NatGeo World Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.OCEANS]:{baseMapLayers:[{id:"oceans-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",title:"World Ocean Base"},{id:"oceans-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,title:"World Ocean Reference",url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",isReference:!0}]},[WellKnownBasemap.OCEANS_VECTOR]:{baseMapLayers:[{id:"oceans-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",title:"World Ocean Base"},{id:"oceans-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Ocean Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/89860a5baf424f3ea0c655115faababe/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.OPEN_STREET_MAP]:{baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",showLegend:!1,title:"OpenStreetMap"}]},[WellKnownBasemap.OPEN_STREET_MAP_VECTOR]:{baseMapLayers:[{id:"osm-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"OpenStreetMap",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/3e1a00aeae81496587988075fe529f71/resources/styles/root.json"}]},[WellKnownBasemap.SATELLITE]:{baseMapLayers:[{id:"satellite-base-layer",title:"World Imagery",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.STREETS]:{baseMapLayers:[{id:"streets-base-layer",title:"World Street Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.STREETS_NAVIGATION_VECTOR]:{baseMapLayers:[{id:"streets-navigation-vector-base-layer",title:"World Navigation Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_NIGHT_VECTOR]:{baseMapLayers:[{id:"streets-night-vector-base-layer",title:"World Street Map (Night)",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_RELIEF_VECTOR]:{baseMapLayers:[{id:"world-hillshade-layer",title:"World Hillshade",url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{id:"streets-relief-vector-base-layer",title:"World Streets Relief",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_VECTOR]:{baseMapLayers:[{id:"streets-vector-base-layer",title:"World Street Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json"}]},[WellKnownBasemap.TERRAIN]:{baseMapLayers:[{id:"terrain-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",title:"World Terrain Base"},{id:"terrain-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",title:"World Terrain Reference",isReference:!0}]},[WellKnownBasemap.TERRAIN_VECTOR]:{baseMapLayers:[{id:"world-hillshade",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",title:"World Hillshade"},{id:"terrain-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Terrain Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/33064a20de0c48d2bb61efa8faca93a8/resources/styles/root.json"},{id:"terrain-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Terrain Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/14fbc125ccc9488888b014db09f35f67/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.TOPO]:{baseMapLayers:[{id:"topo-base-layer",title:"World Topo Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.TOPO_VECTOR]:{baseMapLayers:[{id:"world-hillshade-layer",title:"World Hillshade",url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{id:"topo-vector-base-layer",title:"World Topographic Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json"}]}};function urlsAreEquivalent(e,r){return e&&r?e.toLowerCase().replace("www.arcgis.com","cdn.arcgis.com")===r.toLowerCase().replace("www.arcgis.com","cdn.arcgis.com"):e==r}const LAYER_DECLARED_CLASS_REGEX=/^esri[./]layers[./](tools[./])?\w+Layer$/;export function isLayer(e){const r=e?.declaredClass;return"string"==typeof r&&LAYER_DECLARED_CLASS_REGEX.test(r)}export function isCSVLayer(e){return"csv"===e?.type}export function isGeoJSONLayer(e){return"geojson"===e?.type}export function isSubtypeGroupLayer(e){return"subtype-group"===e?.type}export function isStreamLayer(e){return"stream"===e?.type}export function isFeatureLayerBase(e){return isCSVLayer(e)||isFeatureLayer(e)||isStreamLayer(e)}export function isFeatureLayer(e){return"feature"===e?.type}export function isGeoRssLayer(e){return"geo-rss"===e?.type}export function isGraphicsLayer(e){return"graphics"===e?.type}export function isImageryLayer(e){return"imagery"===e?.type}export function isKMLLayer(e){return"kml"===e?.type}export function isMapImageLayer(e){return"map-image"===e?.type}export function isOpenStreetMapLayer(e){return"open-street-map"===e?.type}export function isWebTileLayer(e){return"web-tile"===e?.type||"open-street-map"===e?.type}export function isVectorTileLayer(e){return"vector-tile"===e?.type}export function isElevationLayer(e){return"elevation"===e?.type}export function isSceneLayer(e){return"scene"===e?.type}export function isPointCloudLayer(e){return"point-cloud"===e?.type}export function isIntegratedMeshLayer(e){return"integrated-mesh"===e?.type}export function isGroupLayer(e){return"group"===e?.type}export function isWMSLayer(e){return"wms"===e?.type}export function isWMTSLayer(e){return"wmts"===e?.type}export function isBuildingSceneLayer(e){return"building-scene"===e?.type}export function isTileLayer(e){return"tile"===e?.type}export function isImageryTileLayer(e){return"imagery-tile"===e?.type}export function isTiledImageServiceLayer(e){return isTileLayer(e)&&isImageService(e)}export function isTiledMapServiceLayer(e){return isTileLayer(e)&&!isImageService(e)}function isImageService(e){const r=e.url??e.portalItem?.url;return r&&/\/ImageServer(\/|\/?$)/i.test(r)}export function isMapImageSublayer(e){return"esri.layers.support.Sublayer"===e?.declaredClass}export function isKMLSublayer(e){return"esri.layers.support.KMLSublayer"===e?.declaredClass}export function isWMTSSublayer(e){return"esri.layers.support.WMTSSublayer"===e?.declaredClass}export function isWMSSublayer(e){return"esri.layers.support.WMSSublayer"===e?.declaredClass}export function isBuildingComponentSublayer(e){return"building-component"===e?.type}export function isBuildingGroupSublayer(e){return"building-group"===e?.type}export function isLayerWithLegendEnabledProperty(e){return!(isBuildingSceneLayer(e)||isCSVLayer(e)||isElevationLayer(e)||isGraphicsLayer(e)||isGroupLayer(e)||isIntegratedMeshLayer(e)||isKMLLayer(e)||isOpenStreetMapLayer(e)||isPointCloudLayer(e)||isWebTileLayer(e)||isWMTSLayer(e)||isVectorTileLayer(e))}export function hasMmapLayer(e){return e.some((e=>{const r=e._deferredLayerProperties;return!("string"==typeof r?.$ref||!r?.$ref?.path)||!!isGroupLayerExtension(e)&&hasMmapLayer(e.layerExtensions.toArray())}))}export function isTimeAwareLayer(e){return isLayer(e)&&e.hasOwnProperty("timeExtent")}export function isSubtypeSublayer(e){return"esri.layers.support.SubtypeSublayer"===e?.declaredClass}
1
+ import{LayerBase as LayerJson}from"../portal/_LayerBase.js";import{WellKnownBasemap}from"../support/esri.js";import{isGroupLayerExtension}from"./extensions.js";import{isBasemap}from"./mapping.js";export function layersAreEquivalent(e,r){if(e===r)return!0;const a=isLayer(e)?LayerJson.getLayerType(e):e.layerType;if(a!==(isLayer(r)?LayerJson.getLayerType(r):r.layerType))return!1;if("OpenStreetMap"===a)return!0;if("ArcGISFeatureLayer"===a){const a=isFeatureLayer(e)?`${e.url}/${e.layerId}`:e.url,s=isFeatureLayer(r)?`${r.url}/${r.layerId}`:r.url;return e.id===r.id||e.url&&urlsAreEquivalent(a,s)}return e.id===r.id||e.url&&urlsAreEquivalent(e.url,r.url)||(e.styleUrl||r.styleUrl)&&urlsAreEquivalent(e.url||e.styleUrl,r.url||r.styleUrl)||e.key&&e.key===r.key||e.urlTemplate&&urlsAreEquivalent(e.urlTemplate,r.urlTemplate)}export function basemapsAreEquivalent(e,r){if(e===r)return!0;if(!e||!r)return!1;let a,s,t,i;return isBasemap(e)?(a=e.baseLayers.toArray(),t=e.referenceLayers.toArray()):(a=e.baseMapLayers?.filter((e=>!e.isReference))??[],t=e.baseMapLayers?.filter((e=>e.isReference))??[]),isBasemap(r)?(s=r.baseLayers.toArray(),i=r.referenceLayers.toArray()):(s=r.baseMapLayers?.filter((e=>!e.isReference))??[],i=r.baseMapLayers?.filter((e=>e.isReference))??[]),a.length===s.length&&a.every(((e,r)=>layersAreEquivalent(e,s[r])))&&t.length===i.length&&t.every(((e,r)=>layersAreEquivalent(e,i[r])))}export const standardBasemaps={[WellKnownBasemap.DARK_GRAY]:{baseMapLayers:[{id:"dark-gray-base-layer",title:"World Dark Gray Base",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{isReference:!0,id:"dark-gray-reference-layer",title:"World Dark Gray Reference",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.DARK_GRAY_VECTOR]:{baseMapLayers:[{id:"dark-gray-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Dark Gray Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json"},{id:"dark-gray-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Dark Gray Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.GRAY]:{baseMapLayers:[{id:"gray-base-layer",title:"World Light Gray Base",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{isReference:!0,id:"gray-reference-layer",title:"World Light Gray Reference",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.GRAY_VECTOR]:{baseMapLayers:[{id:"gray-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Light Gray Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json"},{id:"gray-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Light Gray Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.HYBRID]:{baseMapLayers:[{id:"hybrid-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",title:"World Imagery"},{id:"hybrid-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer",title:"World Boundaries and Places",isReference:!0}]},[WellKnownBasemap.HYBRID_VECTOR]:{baseMapLayers:[{id:"hybrid-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",title:"World Imagery"},{id:"hybrid-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"Hybrid Reference Layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.NATIONAL_GEOGRAPHIC]:{baseMapLayers:[{id:"national-geographic-base-layer",title:"NatGeo World Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.OCEANS]:{baseMapLayers:[{id:"oceans-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",title:"World Ocean Base"},{id:"oceans-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,title:"World Ocean Reference",url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",isReference:!0}]},[WellKnownBasemap.OCEANS_VECTOR]:{baseMapLayers:[{id:"oceans-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",title:"World Ocean Base"},{id:"oceans-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Ocean Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/89860a5baf424f3ea0c655115faababe/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.OPEN_STREET_MAP]:{baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",showLegend:!1,title:"OpenStreetMap"}]},[WellKnownBasemap.OPEN_STREET_MAP_VECTOR]:{baseMapLayers:[{id:"osm-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"OpenStreetMap",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/3e1a00aeae81496587988075fe529f71/resources/styles/root.json"}]},[WellKnownBasemap.SATELLITE]:{baseMapLayers:[{id:"satellite-base-layer",title:"World Imagery",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.STREETS]:{baseMapLayers:[{id:"streets-base-layer",title:"World Street Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.STREETS_NAVIGATION_VECTOR]:{baseMapLayers:[{id:"streets-navigation-vector-base-layer",title:"World Navigation Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_NIGHT_VECTOR]:{baseMapLayers:[{id:"streets-night-vector-base-layer",title:"World Street Map (Night)",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_RELIEF_VECTOR]:{baseMapLayers:[{id:"world-hillshade-layer",title:"World Hillshade",url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{id:"streets-relief-vector-base-layer",title:"World Streets Relief",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json"}]},[WellKnownBasemap.STREETS_VECTOR]:{baseMapLayers:[{id:"streets-vector-base-layer",title:"World Street Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json"}]},[WellKnownBasemap.TERRAIN]:{baseMapLayers:[{id:"terrain-base-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",title:"World Terrain Base"},{id:"terrain-reference-layer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",title:"World Terrain Reference",isReference:!0}]},[WellKnownBasemap.TERRAIN_VECTOR]:{baseMapLayers:[{id:"world-hillshade",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1,url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",title:"World Hillshade"},{id:"terrain-base-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Terrain Base",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/33064a20de0c48d2bb61efa8faca93a8/resources/styles/root.json"},{id:"terrain-reference-layer",layerType:"VectorTileLayer",showLegend:!1,title:"World Terrain Reference",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/14fbc125ccc9488888b014db09f35f67/resources/styles/root.json",isReference:!0}]},[WellKnownBasemap.TOPO]:{baseMapLayers:[{id:"topo-base-layer",title:"World Topo Map",url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1}]},[WellKnownBasemap.TOPO_VECTOR]:{baseMapLayers:[{id:"world-hillshade-layer",title:"World Hillshade",url:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",showLegend:!1},{id:"topo-vector-base-layer",title:"World Topographic Map",layerType:"VectorTileLayer",showLegend:!1,styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json"}]}};function urlsAreEquivalent(e,r){return e&&r?e.toLowerCase().replace("www.arcgis.com","cdn.arcgis.com")===r.toLowerCase().replace("www.arcgis.com","cdn.arcgis.com"):e==r}const LAYER_DECLARED_CLASS_REGEX=/^esri[./]layers[./](tools[./])?\w+Layer$/,SUBLAYER_DECLARED_CLASS_REGEX=/^esri[./]layers[./](support[./])?(buildingSublayers[./])?\w*Sublayer$/;export function isLayer(e){const r=e?.declaredClass;return"string"==typeof r&&LAYER_DECLARED_CLASS_REGEX.test(r)}export function isSublayer(e){const r=e?.declaredClass;return"string"==typeof r&&SUBLAYER_DECLARED_CLASS_REGEX.test(r)}export function isCSVLayer(e){return"csv"===e?.type}export function isGeoJSONLayer(e){return"geojson"===e?.type}export function isSubtypeGroupLayer(e){return"subtype-group"===e?.type}export function isStreamLayer(e){return"stream"===e?.type}export function isFeatureLayerBase(e){return isCSVLayer(e)||isFeatureLayer(e)||isStreamLayer(e)}export function isFeatureLayer(e){return"feature"===e?.type}export function isGeoRssLayer(e){return"geo-rss"===e?.type}export function isGraphicsLayer(e){return"graphics"===e?.type}export function isImageryLayer(e){return"imagery"===e?.type}export function isKMLLayer(e){return"kml"===e?.type}export function isMapImageLayer(e){return"map-image"===e?.type}export function isOpenStreetMapLayer(e){return"open-street-map"===e?.type}export function isWebTileLayer(e){return"web-tile"===e?.type||"open-street-map"===e?.type}export function isVectorTileLayer(e){return"vector-tile"===e?.type}export function isElevationLayer(e){return"elevation"===e?.type}export function isSceneLayer(e){return"scene"===e?.type}export function isPointCloudLayer(e){return"point-cloud"===e?.type}export function isIntegratedMeshLayer(e){return"integrated-mesh"===e?.type}export function isGroupLayer(e){return"group"===e?.type}export function isWMSLayer(e){return"wms"===e?.type}export function isWMTSLayer(e){return"wmts"===e?.type}export function isBuildingSceneLayer(e){return"building-scene"===e?.type}export function isTileLayer(e){return"tile"===e?.type}export function isImageryTileLayer(e){return"imagery-tile"===e?.type}export function isTiledImageServiceLayer(e){return isTileLayer(e)&&isImageService(e)}export function isTiledMapServiceLayer(e){return isTileLayer(e)&&!isImageService(e)}function isImageService(e){const r=e.url??e.portalItem?.url;return r&&/\/ImageServer(\/|\/?$)/i.test(r)}export function isMapImageSublayer(e){return"esri.layers.support.Sublayer"===e?.declaredClass}export function isKMLSublayer(e){return"esri.layers.support.KMLSublayer"===e?.declaredClass}export function isWMTSSublayer(e){return"esri.layers.support.WMTSSublayer"===e?.declaredClass}export function isWMSSublayer(e){return"esri.layers.support.WMSSublayer"===e?.declaredClass}export function isBuildingComponentSublayer(e){return"building-component"===e?.type}export function isBuildingGroupSublayer(e){return"building-group"===e?.type}export function isLayerWithLegendEnabledProperty(e){return!(isBuildingSceneLayer(e)||isCSVLayer(e)||isElevationLayer(e)||isGraphicsLayer(e)||isGroupLayer(e)||isIntegratedMeshLayer(e)||isKMLLayer(e)||isOpenStreetMapLayer(e)||isPointCloudLayer(e)||isWebTileLayer(e)||isWMTSLayer(e)||isVectorTileLayer(e))}export function hasMmapLayer(e){return e.some((e=>{const r=e._deferredLayerProperties;return!("string"==typeof r?.$ref||!r?.$ref?.path)||!!isGroupLayerExtension(e)&&hasMmapLayer(e.layerExtensions.toArray())}))}export function isTimeAwareLayer(e){return isLayer(e)&&e.hasOwnProperty("timeExtent")}export function isSubtypeSublayer(e){return"esri.layers.support.SubtypeSublayer"===e?.declaredClass}
@@ -31,6 +31,11 @@ export interface RunArcadeExpressionParams {
31
31
  * Additional Arcade arguments to attach to the script when run.
32
32
  */
33
33
  vars?: Record<string, unknown>;
34
+ /**
35
+ * Emit an error when the script is missing referenced variables. Defaults
36
+ * to 'true'.
37
+ */
38
+ emitErrorOnMissingVariables?: boolean;
34
39
  }
35
40
  /**
36
41
  * Detect if the arcade expression requires an async evaluation.
@@ -1 +1 @@
1
- import*as Arcade from"@arcgis/core/arcade/arcade";import*as arcadeUtils from"@arcgis/core/support/arcadeUtils";import{toGraphic}from"../data/Feature.js";import{checkArg}from"./checkArg.js";const arcadeScriptCache=new Map;export function isArcadeScriptAsync(e,r){const a=_getArcadeScriptForExpression(e,r);return["$datastore","$map","$layer"].some((e=>arcadeUtils.hasVariable(a,e)))||Arcade.scriptIsAsync({...a,isAsync:void 0,usesFeatureSet:void 0,usesGeometry:void 0},void 0)}export function arcadeScriptUsesGeometry(e,r){return!!_getArcadeScriptForExpression(e,r).usesGeometry}export async function enableGeometrySupportIfNeeded(e){const{spatialReference:r}=e.geometry,a=e.source?.layer?.elevationInfo?.featureExpressionInfo?.expression;a&&arcadeScriptUsesGeometry(a,r)&&await Arcade.enableGeometrySupport()}export function runArcadeExpression(e,r){const{map:a,layer:t,vars:s,feature:c,spatialReference:i}=r;checkArg("$map and $layer parameters are not supported in synchronous arcade",r).satisfies((()=>!a&&!t));const o=arcadeUtils.getViewInfo({spatialReference:i}),n=arcadeUtils.createExecContext(c&&toGraphic(c),o);if(s)for(const e of Object.keys(s))n.vars[e]=s[e];const p=_getArcadeScriptForExpression(e,i);return arcadeUtils.hasVariable(p,"$feature")&&checkArg("params.feature",c).isNotMissing(),Arcade.executeScript(p,n)}export async function runAsyncArcadeExpression(e,r){const{map:a,layer:t,vars:s,feature:c,spatialReference:i}=r,o={..._getArcadeScriptForExpression(e,i)},n=["$datastore","$map","$layer"].filter((e=>arcadeUtils.hasVariable(o,e)));await arcadeUtils.loadScriptDependencies(o,!0,n);const p=arcadeUtils.getViewInfo({spatialReference:i}),d=arcadeUtils.createExecContext(c&&toGraphic(c),p);if(o.isAsync=!0,o.usesFeatureSet=!0,await Arcade.enableAsyncSupport(),await Arcade.enableFeatureSetSupport(),o.usesGeometry&&await Arcade.enableGeometrySupport(),arcadeUtils.hasVariable(o,"$feature")&&checkArg("params.feature",c).isNotMissing(),n.includes("$map")&&(checkArg("params.map",a).isNotMissing(),d.vars.$map=arcadeUtils.convertMapToFeatureSetCollection({map:a,spatialReference:i})),n.includes("$layer")&&(checkArg("params.layer",t).isNotMissing(),d.vars.$layer=arcadeUtils.convertFeatureLayerToFeatureSet({layer:t,spatialReference:i})),n.includes("$datastore")&&(checkArg("params.layer",t).isNotMissing(),d.vars.$datastore=arcadeUtils.convertServiceUrlToWorkspace({url:t.url,spatialReference:i})),s)for(const e of Object.keys(s))d.vars[e]=s[e];return arcadeUtils.createFunction(o,d)(d)}function _getArcadeScriptForExpression(e,r){if(arcadeScriptCache.has(e))return arcadeScriptCache.get(e);const a=Arcade.parseScript(e,r);return arcadeScriptCache.set(e,a),a}
1
+ import*as Arcade from"@arcgis/core/arcade/arcade";import*as arcadeUtils from"@arcgis/core/support/arcadeUtils";import{toGraphic}from"../data/Feature.js";import{checkArg}from"./checkArg.js";const arcadeScriptCache=new Map;export function isArcadeScriptAsync(e,r){const a=_getArcadeScriptForExpression(e,r);return["$datastore","$map","$layer"].some((e=>arcadeUtils.hasVariable(a,e)))||Arcade.scriptIsAsync({...a,isAsync:void 0,usesFeatureSet:void 0,usesGeometry:void 0},void 0)}export function arcadeScriptUsesGeometry(e,r){return!!_getArcadeScriptForExpression(e,r).usesGeometry}export async function enableGeometrySupportIfNeeded(e){const{spatialReference:r}=e.geometry,a=e.source?.layer?.elevationInfo?.featureExpressionInfo?.expression;a&&arcadeScriptUsesGeometry(a,r)&&await Arcade.enableGeometrySupport()}export function runArcadeExpression(e,r){const{map:a,layer:t,vars:s,feature:c,spatialReference:i,emitErrorOnMissingVariables:o=!0}=r;checkArg("$map and $layer parameters are not supported in synchronous arcade",r).satisfies((()=>!a&&!t));const n=arcadeUtils.getViewInfo({spatialReference:i}),p=arcadeUtils.createExecContext(c&&toGraphic(c),n);if(s)for(const e of Object.keys(s))p.vars[e]=s[e];const l=_getArcadeScriptForExpression(e,i);if(arcadeUtils.hasVariable(l,"$feature"))if(o)checkArg("params.feature",c).isNotMissing();else if(!c)return;return Arcade.executeScript(l,p)}export async function runAsyncArcadeExpression(e,r){const{map:a,layer:t,vars:s,feature:c,spatialReference:i,emitErrorOnMissingVariables:o=!0}=r,n={..._getArcadeScriptForExpression(e,i)},p=["$datastore","$map","$layer"].filter((e=>arcadeUtils.hasVariable(n,e)));await arcadeUtils.loadScriptDependencies(n,!0,p);const l=arcadeUtils.getViewInfo({spatialReference:i}),d=arcadeUtils.createExecContext(c&&toGraphic(c),l);if(n.isAsync=!0,n.usesFeatureSet=!0,await Arcade.enableAsyncSupport(),await Arcade.enableFeatureSetSupport(),n.usesGeometry&&await Arcade.enableGeometrySupport(),arcadeUtils.hasVariable(n,"$feature"))if(o)checkArg("params.feature",c).isNotMissing();else if(!c)return;if(p.includes("$map")){if(o)checkArg("params.map",a).isNotMissing();else if(!a)return;d.vars.$map=arcadeUtils.convertMapToFeatureSetCollection({map:a,spatialReference:i})}if(p.includes("$layer")){if(o)checkArg("params.layer",t).isNotMissing();else if(!t)return;d.vars.$layer=arcadeUtils.convertFeatureLayerToFeatureSet({layer:t,spatialReference:i})}if(p.includes("$datastore")){if(o)checkArg("params.layer",t).isNotMissing();else if(!t)return;d.vars.$datastore=arcadeUtils.convertServiceUrlToWorkspace({url:t.url,spatialReference:i})}if(s)for(const e of Object.keys(s))d.vars[e]=s[e];return arcadeUtils.createFunction(n,d)(d)}function _getArcadeScriptForExpression(e,r){const a=`${e}-${r?.wkid}`;if(arcadeScriptCache.has(a))return arcadeScriptCache.get(a);const t=Arcade.parseScript(e,r);return arcadeScriptCache.set(a,t),t}
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex ArcGIS Extensions API.
3
3
  */
4
- export declare const version = "37.5.0";
4
+ export declare const version = "37.7.0";
package/version.js CHANGED
@@ -1 +1 @@
1
- export const version="37.5.0";
1
+ export const version="37.7.0";