@arcgis/map-components 4.29.0-beta.0 → 4.29.0-beta.1
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/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/p-bb6e5f04.entry.js +1 -0
- package/dist/arcgis-map-components/p-bfae0a1f.entry.js +1 -0
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +60 -25
- package/dist/cjs/arcgis-map-components.cjs.js +1 -1
- package/dist/cjs/arcgis-scene.cjs.entry.js +47 -27
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-map.js +64 -26
- package/dist/components/arcgis-scene.js +50 -27
- package/dist/esm/arcgis-expand_4.entry.js +60 -25
- package/dist/esm/arcgis-map-components.js +1 -1
- package/dist/esm/arcgis-scene.entry.js +47 -27
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/arcgis-map/arcgis-map.d.ts +12 -3
- package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +8 -2
- package/dist/types/components.d.ts +12 -0
- package/package.json +6 -6
- package/dist/arcgis-map-components/p-06df2252.entry.js +0 -1
- package/dist/arcgis-map-components/p-109bebac.entry.js +0 -1
- package/dist/arcgis-map-components/p-198374aa.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e9abc6d.entry.js +0 -1
- package/dist/arcgis-map-components/p-2165089c.entry.js +0 -1
- package/dist/arcgis-map-components/p-25089dd3.entry.js +0 -1
- package/dist/arcgis-map-components/p-2792ef61.entry.js +0 -1
- package/dist/arcgis-map-components/p-2a84985d.entry.js +0 -1
- package/dist/arcgis-map-components/p-2abff98f.entry.js +0 -1
- package/dist/arcgis-map-components/p-2cf30ef5.entry.js +0 -1
- package/dist/arcgis-map-components/p-30ef17d7.entry.js +0 -1
- package/dist/arcgis-map-components/p-3155dc12.entry.js +0 -1
- package/dist/arcgis-map-components/p-3279d5e4.entry.js +0 -1
- package/dist/arcgis-map-components/p-35b675ca.entry.js +0 -1
- package/dist/arcgis-map-components/p-364d4187.entry.js +0 -1
- package/dist/arcgis-map-components/p-37eceffa.entry.js +0 -1
- package/dist/arcgis-map-components/p-39443d81.entry.js +0 -1
- package/dist/arcgis-map-components/p-3bd2d0aa.entry.js +0 -1
- package/dist/arcgis-map-components/p-3d55c74c.entry.js +0 -1
- package/dist/arcgis-map-components/p-43c52a2d.entry.js +0 -1
- package/dist/arcgis-map-components/p-4dfcfa91.entry.js +0 -1
- package/dist/arcgis-map-components/p-56d3bde2.entry.js +0 -1
- package/dist/arcgis-map-components/p-576ef000.entry.js +0 -1
- package/dist/arcgis-map-components/p-64607de6.entry.js +0 -1
- package/dist/arcgis-map-components/p-69374811.entry.js +0 -1
- package/dist/arcgis-map-components/p-69b6541c.entry.js +0 -1
- package/dist/arcgis-map-components/p-6c3e28cd.entry.js +0 -1
- package/dist/arcgis-map-components/p-737f79f3.entry.js +0 -1
- package/dist/arcgis-map-components/p-76af5d10.entry.js +0 -1
- package/dist/arcgis-map-components/p-7add1ddc.entry.js +0 -1
- package/dist/arcgis-map-components/p-82462685.entry.js +0 -1
- package/dist/arcgis-map-components/p-83b8f950.entry.js +0 -1
- package/dist/arcgis-map-components/p-859d99ff.entry.js +0 -1
- package/dist/arcgis-map-components/p-9040f50a.entry.js +0 -1
- package/dist/arcgis-map-components/p-93b5c951.entry.js +0 -1
- package/dist/arcgis-map-components/p-96b72ddd.js +0 -1
- package/dist/arcgis-map-components/p-99ab4a91.entry.js +0 -1
- package/dist/arcgis-map-components/p-9cfcd5e2.entry.js +0 -1
- package/dist/arcgis-map-components/p-9daf744f.entry.js +0 -1
- package/dist/arcgis-map-components/p-a242b477.entry.js +0 -1
- package/dist/arcgis-map-components/p-a5f78ba3.entry.js +0 -1
- package/dist/arcgis-map-components/p-aed5d6b3.entry.js +0 -1
- package/dist/arcgis-map-components/p-b47a4384.entry.js +0 -1
- package/dist/arcgis-map-components/p-b9acaa74.entry.js +0 -1
- package/dist/arcgis-map-components/p-ba19bf3b.entry.js +0 -1
- package/dist/arcgis-map-components/p-ba6ee56b.entry.js +0 -1
- package/dist/arcgis-map-components/p-c0d9a07e.entry.js +0 -1
- package/dist/arcgis-map-components/p-c6e11b15.entry.js +0 -1
- package/dist/arcgis-map-components/p-dd2f47ce.entry.js +0 -1
- package/dist/arcgis-map-components/p-df6a6059.entry.js +0 -1
- package/dist/arcgis-map-components/p-e15196d8.entry.js +0 -1
- package/dist/arcgis-map-components/p-f03d0e30.entry.js +0 -1
- package/dist/arcgis-map-components/p-f5fd6688.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery_4.cjs.entry.js +0 -548
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +0 -300
- package/dist/esm/arcgis-basemap-gallery_4.entry.js +0 -541
- package/dist/esm/arcgis-feature-table.entry.js +0 -296
- package/dist/esm/index-60c6bcb8.js +0 -660
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"arcgis-expand_4.cjs\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[16],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d.cjs\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d.cjs\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments.cjs\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery.cjs\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list.cjs\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle.cjs\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks.cjs\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer.cjs\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion.cjs\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight.cjs\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions.cjs\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d.cjs\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d.cjs\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor.cjs\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile.cjs\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature.cjs\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates.cjs\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features.cjs\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter.cjs\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider.cjs\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list.cjs\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend.cjs\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight.cjs\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement.cjs\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print.cjs\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar.cjs\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider.cjs\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast.cjs\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch.cjs\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice.cjs\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider.cjs\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list.cjs\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider.cjs\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations.cjs\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace.cjs\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology.cjs\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker.cjs\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather.cjs\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass.cjs\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form.cjs\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen.cjs\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram.cjs\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home.cjs\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate.cjs\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle.cjs\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene.cjs\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"itemId\":[1,\"item-id\"],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe.cjs\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track.cjs\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom.cjs\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"arcgis-expand_4.cjs\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d.cjs\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d.cjs\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments.cjs\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery.cjs\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list.cjs\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle.cjs\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks.cjs\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer.cjs\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion.cjs\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight.cjs\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions.cjs\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d.cjs\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d.cjs\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor.cjs\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile.cjs\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature.cjs\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates.cjs\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features.cjs\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter.cjs\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider.cjs\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list.cjs\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend.cjs\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight.cjs\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement.cjs\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print.cjs\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar.cjs\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider.cjs\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast.cjs\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch.cjs\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice.cjs\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider.cjs\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list.cjs\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider.cjs\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations.cjs\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace.cjs\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology.cjs\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker.cjs\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather.cjs\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass.cjs\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form.cjs\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen.cjs\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram.cjs\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home.cjs\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate.cjs\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle.cjs\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene.cjs\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe.cjs\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track.cjs\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom.cjs\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -312,7 +312,7 @@ const ArcgisFeatureTable$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
312
312
|
"highlightEnabled": [4, "highlight-enabled"],
|
|
313
313
|
"highlightIds": [16],
|
|
314
314
|
"layer": [1040],
|
|
315
|
-
"menu": [
|
|
315
|
+
"menu": [1040],
|
|
316
316
|
"menuConfig": [16],
|
|
317
317
|
"multiSortEnabled": [4, "multi-sort-enabled"],
|
|
318
318
|
"pageSize": [2, "page-size"],
|
|
@@ -11,20 +11,23 @@ const ArcgisMap$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
this.viewReady = createEvent(this, "viewReady", 7);
|
|
12
12
|
this.apiKey = undefined;
|
|
13
13
|
this.basemap = undefined;
|
|
14
|
+
this.backgroundColor = undefined;
|
|
14
15
|
this.disableNavigation = false;
|
|
15
16
|
this.itemId = undefined;
|
|
17
|
+
this.portalUrl = undefined;
|
|
18
|
+
this.scale = undefined;
|
|
16
19
|
this.zoom = undefined;
|
|
17
20
|
this.center = undefined;
|
|
18
21
|
this.view = undefined;
|
|
19
22
|
}
|
|
20
|
-
//--------------------------------------------------------------------------
|
|
21
|
-
//
|
|
22
|
-
// Watchers
|
|
23
|
-
//
|
|
24
|
-
//--------------------------------------------------------------------------
|
|
25
23
|
apiKeyWatcher(value) {
|
|
26
24
|
this.config.apiKey = value;
|
|
27
25
|
}
|
|
26
|
+
backgroundColorWatcher(value) {
|
|
27
|
+
this.view.background = {
|
|
28
|
+
color: value
|
|
29
|
+
};
|
|
30
|
+
}
|
|
28
31
|
itemIdWatcher(value, old) {
|
|
29
32
|
if (value && value !== old) {
|
|
30
33
|
this.loadMap();
|
|
@@ -40,7 +43,7 @@ const ArcgisMap$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
40
43
|
if (this.apiKey) {
|
|
41
44
|
this.config.apiKey = this.apiKey;
|
|
42
45
|
}
|
|
43
|
-
|
|
46
|
+
this.loadMap();
|
|
44
47
|
}
|
|
45
48
|
componentDidRender() {
|
|
46
49
|
if (this.view) {
|
|
@@ -58,53 +61,88 @@ const ArcgisMap$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
58
61
|
async loadMap() {
|
|
59
62
|
const mapParams = {};
|
|
60
63
|
if (this.itemId) {
|
|
61
|
-
mapParams.portalItem =
|
|
62
|
-
id: this.itemId
|
|
63
|
-
};
|
|
64
|
+
mapParams.portalItem = this._createPortalItem();
|
|
64
65
|
}
|
|
65
66
|
if (this.basemap) {
|
|
66
67
|
mapParams.basemap = this.basemap;
|
|
67
68
|
}
|
|
68
69
|
const map = await newWebMap(mapParams);
|
|
69
|
-
const params =
|
|
70
|
-
if (this.zoom) {
|
|
71
|
-
params.zoom = this.zoom;
|
|
72
|
-
}
|
|
73
|
-
if (this.center) {
|
|
74
|
-
if (typeof this.center === "string") {
|
|
75
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
params.center = this.center;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
70
|
+
const params = this._createViewParams();
|
|
81
71
|
const view = await newViewsMapView({
|
|
82
72
|
map,
|
|
83
73
|
...params
|
|
84
74
|
});
|
|
85
|
-
const { watch } = await importCoreReactiveUtils();
|
|
86
75
|
this.view = view;
|
|
76
|
+
this._addWatchers();
|
|
77
|
+
if (this.disableNavigation) {
|
|
78
|
+
disableNavigation(this.view);
|
|
79
|
+
}
|
|
80
|
+
this.view.when(() => this.viewReady.emit({ view: this.view }));
|
|
81
|
+
}
|
|
82
|
+
//--------------------------------------------------------------------------
|
|
83
|
+
//
|
|
84
|
+
// Private Methods
|
|
85
|
+
//
|
|
86
|
+
//--------------------------------------------------------------------------
|
|
87
|
+
async _addWatchers() {
|
|
88
|
+
const { watch } = await importCoreReactiveUtils();
|
|
87
89
|
watch(() => this.view.center, (center) => {
|
|
88
90
|
const value = `${center.longitude},${center.latitude}`;
|
|
89
91
|
this.center = value;
|
|
90
92
|
});
|
|
91
93
|
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
watch(() => this.view.scale, (value) => (this.scale = value));
|
|
95
|
+
}
|
|
96
|
+
_createPortalItem() {
|
|
97
|
+
const item = {};
|
|
98
|
+
if (this.itemId) {
|
|
99
|
+
item.id = this.itemId;
|
|
94
100
|
}
|
|
95
|
-
this.
|
|
101
|
+
if (this.portalUrl) {
|
|
102
|
+
item.portal = {
|
|
103
|
+
url: this.portalUrl
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
return item;
|
|
107
|
+
}
|
|
108
|
+
_createViewParams() {
|
|
109
|
+
const params = {};
|
|
110
|
+
if (this.backgroundColor) {
|
|
111
|
+
params.background = {
|
|
112
|
+
color: this.backgroundColor
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
if (this.zoom !== undefined) {
|
|
116
|
+
params.zoom = this.zoom;
|
|
117
|
+
}
|
|
118
|
+
if (this.scale !== undefined) {
|
|
119
|
+
params.scale = this.scale;
|
|
120
|
+
}
|
|
121
|
+
if (this.center) {
|
|
122
|
+
if (typeof this.center === "string") {
|
|
123
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
params.center = this.center;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return params;
|
|
96
130
|
}
|
|
97
131
|
get hostElem() { return this; }
|
|
98
132
|
static get watchers() { return {
|
|
99
133
|
"apiKey": ["apiKeyWatcher"],
|
|
134
|
+
"backgroundColor": ["backgroundColorWatcher"],
|
|
100
135
|
"itemId": ["itemIdWatcher"]
|
|
101
136
|
}; }
|
|
102
137
|
static get style() { return arcgisMapCss; }
|
|
103
138
|
}, [0, "arcgis-map", {
|
|
104
139
|
"apiKey": [1, "api-key"],
|
|
105
|
-
"basemap": [
|
|
140
|
+
"basemap": [1025],
|
|
141
|
+
"backgroundColor": [1025, "background-color"],
|
|
106
142
|
"disableNavigation": [4, "disable-navigation"],
|
|
107
143
|
"itemId": [1, "item-id"],
|
|
144
|
+
"portalUrl": [1, "portal-url"],
|
|
145
|
+
"scale": [1538],
|
|
108
146
|
"zoom": [1538],
|
|
109
147
|
"center": [1537],
|
|
110
148
|
"view": [1040]
|
|
@@ -10,17 +10,15 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.viewReady = createEvent(this, "viewReady", 7);
|
|
12
12
|
this.apiKey = undefined;
|
|
13
|
+
this.basemap = undefined;
|
|
13
14
|
this.itemId = undefined;
|
|
15
|
+
this.portalUrl = undefined;
|
|
16
|
+
this.scale = undefined;
|
|
14
17
|
this.zoom = undefined;
|
|
15
18
|
this.center = undefined;
|
|
16
19
|
this.view = undefined;
|
|
17
20
|
this.disableNavigation = false;
|
|
18
21
|
}
|
|
19
|
-
//--------------------------------------------------------------------------
|
|
20
|
-
//
|
|
21
|
-
// Watchers
|
|
22
|
-
//
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
22
|
apiKeyWatcher(value) {
|
|
25
23
|
this.config.apiKey = value;
|
|
26
24
|
}
|
|
@@ -39,9 +37,7 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
39
37
|
if (this.apiKey) {
|
|
40
38
|
this.config.apiKey = this.apiKey;
|
|
41
39
|
}
|
|
42
|
-
|
|
43
|
-
this.loadMap();
|
|
44
|
-
}
|
|
40
|
+
this.loadMap();
|
|
45
41
|
}
|
|
46
42
|
componentDidRender() {
|
|
47
43
|
if (this.view) {
|
|
@@ -59,38 +55,62 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
59
55
|
async loadMap() {
|
|
60
56
|
const mapParams = {};
|
|
61
57
|
if (this.itemId) {
|
|
62
|
-
mapParams.portalItem =
|
|
63
|
-
id: this.itemId
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
const map = await newWebScene(mapParams);
|
|
67
|
-
const params = {};
|
|
68
|
-
if (this.zoom) {
|
|
69
|
-
params.zoom = this.zoom;
|
|
58
|
+
mapParams.portalItem = this._createPortalItem();
|
|
70
59
|
}
|
|
71
|
-
if (this.
|
|
72
|
-
|
|
73
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
params.center = this.center;
|
|
77
|
-
}
|
|
60
|
+
if (this.basemap) {
|
|
61
|
+
mapParams.basemap = this.basemap;
|
|
78
62
|
}
|
|
63
|
+
const map = await newWebScene(mapParams);
|
|
64
|
+
const params = this._createViewParams();
|
|
79
65
|
const view = await newViewsSceneView({
|
|
80
66
|
map,
|
|
81
67
|
...params
|
|
82
68
|
});
|
|
83
|
-
const { watch } = await importCoreReactiveUtils();
|
|
84
69
|
this.view = view;
|
|
70
|
+
this._addWatchers();
|
|
71
|
+
if (this.disableNavigation) {
|
|
72
|
+
disableNavigation(this.view);
|
|
73
|
+
}
|
|
74
|
+
this.view.when(() => this.viewReady.emit({ view: this.view }));
|
|
75
|
+
}
|
|
76
|
+
async _addWatchers() {
|
|
77
|
+
const { watch } = await importCoreReactiveUtils();
|
|
85
78
|
watch(() => this.view.center, (center) => {
|
|
86
79
|
const value = `${center.longitude},${center.latitude}`;
|
|
87
80
|
this.center = value;
|
|
88
81
|
});
|
|
89
82
|
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
watch(() => this.view.scale, (value) => (this.scale = value));
|
|
84
|
+
}
|
|
85
|
+
_createPortalItem() {
|
|
86
|
+
const item = {};
|
|
87
|
+
if (this.itemId) {
|
|
88
|
+
item.id = this.itemId;
|
|
92
89
|
}
|
|
93
|
-
this.
|
|
90
|
+
if (this.portalUrl) {
|
|
91
|
+
item.portal = {
|
|
92
|
+
url: this.portalUrl
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
return item;
|
|
96
|
+
}
|
|
97
|
+
_createViewParams() {
|
|
98
|
+
const params = {};
|
|
99
|
+
if (this.zoom !== undefined) {
|
|
100
|
+
params.zoom = this.zoom;
|
|
101
|
+
}
|
|
102
|
+
if (this.scale !== undefined) {
|
|
103
|
+
params.scale = this.scale;
|
|
104
|
+
}
|
|
105
|
+
if (this.center) {
|
|
106
|
+
if (typeof this.center === "string") {
|
|
107
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
params.center = this.center;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return params;
|
|
94
114
|
}
|
|
95
115
|
get hostElem() { return this; }
|
|
96
116
|
static get watchers() { return {
|
|
@@ -100,7 +120,10 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
100
120
|
static get style() { return arcgisSceneCss; }
|
|
101
121
|
}, [0, "arcgis-scene", {
|
|
102
122
|
"apiKey": [1, "api-key"],
|
|
123
|
+
"basemap": [1025],
|
|
103
124
|
"itemId": [1, "item-id"],
|
|
125
|
+
"portalUrl": [1, "portal-url"],
|
|
126
|
+
"scale": [1538],
|
|
104
127
|
"zoom": [1538],
|
|
105
128
|
"center": [1537],
|
|
106
129
|
"view": [1040],
|
|
@@ -391,20 +391,23 @@ const ArcgisMap = class {
|
|
|
391
391
|
this.viewReady = createEvent(this, "viewReady", 7);
|
|
392
392
|
this.apiKey = undefined;
|
|
393
393
|
this.basemap = undefined;
|
|
394
|
+
this.backgroundColor = undefined;
|
|
394
395
|
this.disableNavigation = false;
|
|
395
396
|
this.itemId = undefined;
|
|
397
|
+
this.portalUrl = undefined;
|
|
398
|
+
this.scale = undefined;
|
|
396
399
|
this.zoom = undefined;
|
|
397
400
|
this.center = undefined;
|
|
398
401
|
this.view = undefined;
|
|
399
402
|
}
|
|
400
|
-
//--------------------------------------------------------------------------
|
|
401
|
-
//
|
|
402
|
-
// Watchers
|
|
403
|
-
//
|
|
404
|
-
//--------------------------------------------------------------------------
|
|
405
403
|
apiKeyWatcher(value) {
|
|
406
404
|
this.config.apiKey = value;
|
|
407
405
|
}
|
|
406
|
+
backgroundColorWatcher(value) {
|
|
407
|
+
this.view.background = {
|
|
408
|
+
color: value
|
|
409
|
+
};
|
|
410
|
+
}
|
|
408
411
|
itemIdWatcher(value, old) {
|
|
409
412
|
if (value && value !== old) {
|
|
410
413
|
this.loadMap();
|
|
@@ -420,7 +423,7 @@ const ArcgisMap = class {
|
|
|
420
423
|
if (this.apiKey) {
|
|
421
424
|
this.config.apiKey = this.apiKey;
|
|
422
425
|
}
|
|
423
|
-
|
|
426
|
+
this.loadMap();
|
|
424
427
|
}
|
|
425
428
|
componentDidRender() {
|
|
426
429
|
if (this.view) {
|
|
@@ -438,45 +441,77 @@ const ArcgisMap = class {
|
|
|
438
441
|
async loadMap() {
|
|
439
442
|
const mapParams = {};
|
|
440
443
|
if (this.itemId) {
|
|
441
|
-
mapParams.portalItem =
|
|
442
|
-
id: this.itemId
|
|
443
|
-
};
|
|
444
|
+
mapParams.portalItem = this._createPortalItem();
|
|
444
445
|
}
|
|
445
446
|
if (this.basemap) {
|
|
446
447
|
mapParams.basemap = this.basemap;
|
|
447
448
|
}
|
|
448
449
|
const map = await newWebMap(mapParams);
|
|
449
|
-
const params =
|
|
450
|
-
if (this.zoom) {
|
|
451
|
-
params.zoom = this.zoom;
|
|
452
|
-
}
|
|
453
|
-
if (this.center) {
|
|
454
|
-
if (typeof this.center === "string") {
|
|
455
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
params.center = this.center;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
450
|
+
const params = this._createViewParams();
|
|
461
451
|
const view = await newViewsMapView({
|
|
462
452
|
map,
|
|
463
453
|
...params
|
|
464
454
|
});
|
|
465
|
-
const { watch } = await importCoreReactiveUtils();
|
|
466
455
|
this.view = view;
|
|
456
|
+
this._addWatchers();
|
|
457
|
+
if (this.disableNavigation) {
|
|
458
|
+
disableNavigation(this.view);
|
|
459
|
+
}
|
|
460
|
+
this.view.when(() => this.viewReady.emit({ view: this.view }));
|
|
461
|
+
}
|
|
462
|
+
//--------------------------------------------------------------------------
|
|
463
|
+
//
|
|
464
|
+
// Private Methods
|
|
465
|
+
//
|
|
466
|
+
//--------------------------------------------------------------------------
|
|
467
|
+
async _addWatchers() {
|
|
468
|
+
const { watch } = await importCoreReactiveUtils();
|
|
467
469
|
watch(() => this.view.center, (center) => {
|
|
468
470
|
const value = `${center.longitude},${center.latitude}`;
|
|
469
471
|
this.center = value;
|
|
470
472
|
});
|
|
471
473
|
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
472
|
-
|
|
473
|
-
|
|
474
|
+
watch(() => this.view.scale, (value) => (this.scale = value));
|
|
475
|
+
}
|
|
476
|
+
_createPortalItem() {
|
|
477
|
+
const item = {};
|
|
478
|
+
if (this.itemId) {
|
|
479
|
+
item.id = this.itemId;
|
|
474
480
|
}
|
|
475
|
-
this.
|
|
481
|
+
if (this.portalUrl) {
|
|
482
|
+
item.portal = {
|
|
483
|
+
url: this.portalUrl
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
return item;
|
|
487
|
+
}
|
|
488
|
+
_createViewParams() {
|
|
489
|
+
const params = {};
|
|
490
|
+
if (this.backgroundColor) {
|
|
491
|
+
params.background = {
|
|
492
|
+
color: this.backgroundColor
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
if (this.zoom !== undefined) {
|
|
496
|
+
params.zoom = this.zoom;
|
|
497
|
+
}
|
|
498
|
+
if (this.scale !== undefined) {
|
|
499
|
+
params.scale = this.scale;
|
|
500
|
+
}
|
|
501
|
+
if (this.center) {
|
|
502
|
+
if (typeof this.center === "string") {
|
|
503
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
params.center = this.center;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
return params;
|
|
476
510
|
}
|
|
477
511
|
get hostElem() { return getElement(this); }
|
|
478
512
|
static get watchers() { return {
|
|
479
513
|
"apiKey": ["apiKeyWatcher"],
|
|
514
|
+
"backgroundColor": ["backgroundColorWatcher"],
|
|
480
515
|
"itemId": ["itemIdWatcher"]
|
|
481
516
|
}; }
|
|
482
517
|
};
|