@arcgis/core 5.0.0-next.126 → 5.0.0-next.128
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/Camera.d.ts +1 -1
- package/Ground.d.ts +7 -7
- package/PopupTemplate.d.ts +6 -6
- package/WebScene.d.ts +1 -1
- package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/LengthDimension.d.ts +4 -4
- package/analysis/ShadowCastAnalysis.d.ts +3 -3
- package/analysis/SliceAnalysis.d.ts +1 -1
- package/analysis/SlicePlane.d.ts +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{0a4ebb5dca630a4ab0dd.js → 236f8137ae505c8f0764.js} +1 -1
- package/assets/esri/core/workers/chunks/84905581a3782e95ec34.js +1 -0
- package/assets/esri/core/workers/chunks/{f5f513997cde0ce0f2a2.js → 8eb535b43e1220cf0d75.js} +1 -1
- package/config.js +1 -1
- package/effects/FocusAreas.d.ts +1 -1
- package/form/elements/FieldElement.d.ts +1 -1
- package/form/elements/GroupElement.d.ts +1 -1
- package/form/elements/TextElement.d.ts +1 -1
- package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
- package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
- package/form/elements/inputs/SwitchInput.d.ts +1 -1
- package/geometry/Mesh.d.ts +7 -7
- package/geometry/operators/alphaShapeOperator.d.ts +1 -1
- package/geometry/operators/areaOperator.d.ts +1 -1
- package/geometry/operators/bufferOperator.d.ts +1 -1
- package/geometry/operators/centroidOperator.d.ts +1 -1
- package/geometry/operators/clipOperator.d.ts +1 -1
- package/geometry/operators/containsOperator.d.ts +1 -1
- package/geometry/operators/convexHullOperator.d.ts +1 -1
- package/geometry/operators/crossesOperator.d.ts +1 -1
- package/geometry/operators/cutOperator.d.ts +1 -1
- package/geometry/operators/densifyOperator.d.ts +1 -1
- package/geometry/operators/differenceOperator.d.ts +1 -1
- package/geometry/operators/disjointOperator.d.ts +1 -1
- package/geometry/operators/distanceOperator.d.ts +1 -1
- package/geometry/operators/generalizeOperator.d.ts +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
- package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
- package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
- package/geometry/operators/graphicBufferOperator.d.ts +1 -1
- package/geometry/operators/intersectionOperator.d.ts +1 -1
- package/geometry/operators/intersectsOperator.d.ts +1 -1
- package/geometry/operators/isNearOperator.d.ts +1 -1
- package/geometry/operators/lengthOperator.d.ts +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
- package/geometry/operators/offsetOperator.d.ts +5 -5
- package/geometry/operators/overlapsOperator.d.ts +1 -1
- package/geometry/operators/proximityOperator.d.ts +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
- package/geometry/operators/simplifyOperator.d.ts +1 -1
- package/geometry/operators/support/Transformation.d.ts +6 -6
- package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
- package/geometry/operators/touchesOperator.d.ts +1 -1
- package/geometry/operators/unionOperator.d.ts +1 -1
- package/geometry/operators/withinOperator.d.ts +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/kernel.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +4 -4
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +1 -1
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +1 -1
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
- package/layers/IntegratedMeshLayer.d.ts +7 -7
- package/layers/Layer.d.ts +1 -0
- package/layers/MapImageLayer.d.ts +1 -1
- package/layers/MediaLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +1 -1
- package/layers/SceneLayer.d.ts +5 -5
- package/layers/StreamLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +1 -1
- package/layers/VoxelLayer.d.ts +8 -8
- package/layers/WFSLayer.d.ts +6 -6
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
- package/layers/mixins/BlendLayer.d.ts +6 -6
- package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
- package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
- package/layers/support/DimensionalDefinition.d.ts +2 -2
- package/layers/support/FeatureEffect.d.ts +4 -4
- package/layers/support/FeatureFilter.d.ts +17 -17
- package/layers/support/FeatureReductionBinning.d.ts +1 -1
- package/layers/support/FeatureReductionCluster.d.ts +9 -9
- package/layers/support/LabelClass.d.ts +2 -2
- package/layers/support/RasterFunction.d.ts +1 -1
- package/layers/support/SceneFilter.d.ts +2 -2
- package/layers/support/SceneModification.d.ts +3 -3
- package/package.json +1 -1
- package/popup/content/AttachmentsContent.d.ts +1 -1
- package/popup/content/BarChartMediaInfo.d.ts +1 -1
- package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
- package/popup/content/FieldsContent.d.ts +1 -1
- package/popup/content/ImageMediaInfo.d.ts +1 -1
- package/popup/content/LineChartMediaInfo.d.ts +1 -1
- package/popup/content/MediaContent.d.ts +1 -1
- package/popup/content/PieChartMediaInfo.d.ts +1 -1
- package/popup/content/RelationshipContent.d.ts +1 -1
- package/popup/content/TextContent.d.ts +1 -1
- package/renderers/DotDensityRenderer.d.ts +3 -3
- package/renderers/FlowRenderer.d.ts +6 -6
- package/renderers/HeatmapRenderer.d.ts +3 -3
- package/renderers/PieChartRenderer.d.ts +1 -1
- package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
- package/renderers/Renderer.d.ts +2 -2
- package/renderers/SimpleRenderer.d.ts +1 -1
- package/renderers/VectorFieldRenderer.d.ts +1 -1
- package/renderers/mixins/VisualVariablesMixin.d.ts +8 -8
- package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
- package/rest/support/DateBinParameters.d.ts +1 -1
- package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
- package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
- package/smartMapping/labels/clusters.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +2 -2
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +2 -2
- package/smartMapping/renderers/color.d.ts +12 -12
- package/smartMapping/renderers/predominance.d.ts +3 -3
- package/smartMapping/renderers/relationship.d.ts +15 -15
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/symbology/color.d.ts +4 -4
- package/smartMapping/symbology/flow.d.ts +2 -2
- package/smartMapping/symbology/types.d.ts +18 -18
- package/support/revision.js +1 -1
- package/symbols/CIMSymbol.d.ts +1 -1
- package/symbols/FillSymbol3DLayer.d.ts +3 -3
- package/symbols/IconSymbol3DLayer.d.ts +1 -1
- package/symbols/LabelSymbol3D.d.ts +2 -2
- package/symbols/LineStyleMarker3D.d.ts +7 -7
- package/symbols/LineSymbol3D.d.ts +2 -2
- package/symbols/LineSymbol3DLayer.d.ts +7 -7
- package/symbols/LineSymbolMarker.d.ts +6 -6
- package/symbols/MarkerSymbol.d.ts +1 -1
- package/symbols/MeshSymbol3D.d.ts +2 -2
- package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
- package/symbols/PathSymbol3DLayer.d.ts +14 -14
- package/symbols/PictureFillSymbol.d.ts +1 -1
- package/symbols/PictureMarkerSymbol.d.ts +1 -1
- package/symbols/PointSymbol3D.d.ts +3 -3
- package/symbols/PolygonSymbol3D.d.ts +7 -7
- package/symbols/SimpleFillSymbol.d.ts +8 -8
- package/symbols/SimpleLineSymbol.d.ts +20 -20
- package/symbols/SimpleMarkerSymbol.d.ts +7 -7
- package/symbols/Symbol3DLayer.d.ts +16 -16
- package/symbols/TextSymbol.d.ts +1 -1
- package/symbols/TextSymbol3DLayer.d.ts +1 -1
- package/symbols/WaterSymbol3DLayer.d.ts +3 -3
- package/symbols/WebStyleSymbol.d.ts +1 -1
- package/symbols/callouts/Callout3D.d.ts +1 -1
- package/symbols/callouts/LineCallout3D.d.ts +3 -3
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/types.d.ts +23 -23
- package/symbols/edges/Edges3D.d.ts +1 -1
- package/symbols/edges/SolidEdges3D.d.ts +1 -1
- package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
- package/symbols/patterns/StylePattern3D.d.ts +8 -8
- package/symbols/support/ElevationInfo.d.ts +2 -2
- package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
- package/symbols/support/Symbol3DEmissive.d.ts +23 -13
- package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
- package/views/2d/engine/webgl/shaderGraph/techniques/GraphicInstanceStore.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedPolyShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
- package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
- package/views/2d/types.d.ts +3 -3
- package/views/3d/environment/CloudyWeather.d.ts +1 -1
- package/views/3d/environment/Environment.d.ts +4 -4
- package/views/3d/environment/FoggyWeather.d.ts +1 -1
- package/views/3d/environment/RainyWeather.d.ts +1 -1
- package/views/3d/environment/SnowyWeather.d.ts +1 -1
- package/views/3d/environment/SunLighting.d.ts +1 -1
- package/views/3d/environment/SunnyWeather.d.ts +1 -1
- package/views/3d/environment/VirtualLighting.d.ts +1 -1
- package/views/3d/webgl/RenderNode.d.ts +2 -2
- package/views/3d/webgl.d.ts +1 -1
- package/views/Magnifier.d.ts +3 -3
- package/views/MapView.d.ts +7 -7
- package/views/SceneView.d.ts +34 -37
- package/views/View.d.ts +2 -2
- package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
- package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
- package/views/support/HighlightOptions.d.ts +1 -1
- package/views/support/flow/dataUtils.js +1 -1
- package/views/ui/DefaultUI.d.ts +2 -2
- package/webscene/Environment.d.ts +10 -10
- package/webscene/Glow.d.ts +7 -5
- package/webscene/background/ColorBackground.d.ts +1 -1
- package/widgets/AreaMeasurement2D.d.ts +1 -1
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/Attachments.d.ts +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +3 -3
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CatalogLayerList.d.ts +3 -3
- package/widgets/Compass.d.ts +2 -2
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight.d.ts +5 -5
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/Directions.d.ts +4 -4
- package/widgets/DistanceMeasurement2D.d.ts +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
- package/widgets/ElevationProfile.d.ts +3 -3
- package/widgets/Expand.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/ActionColumn.d.ts +1 -1
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
- package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
- package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
- package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
- package/widgets/FeatureTable.d.ts +9 -9
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
- package/widgets/FeatureTemplates.d.ts +8 -8
- package/widgets/Features/FeaturesViewModel.d.ts +2 -2
- package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
- package/widgets/Features.d.ts +1 -1
- package/widgets/Histogram.d.ts +2 -2
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList.d.ts +4 -4
- package/widgets/Legend.d.ts +8 -8
- package/widgets/LineOfSight.d.ts +1 -1
- package/widgets/Locate.d.ts +2 -2
- package/widgets/Measurement.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +3 -3
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageLocationViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
- package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
- package/widgets/Popup.d.ts +5 -5
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/ScaleRangeSlider.d.ts +1 -1
- package/widgets/Search/SearchViewModel.d.ts +4 -4
- package/widgets/Search.d.ts +5 -5
- package/widgets/ShadowCast.d.ts +3 -3
- package/widgets/Sketch/SketchViewModel.d.ts +39 -39
- package/widgets/Sketch.d.ts +43 -43
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Slider/SliderViewModel.d.ts +2 -2
- package/widgets/Slider.d.ts +9 -9
- package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
- package/widgets/Swipe.d.ts +2 -2
- package/widgets/TableList.d.ts +1 -1
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +8 -8
- package/widgets/TimeSlider/types.d.ts +1 -1
- package/widgets/TimeSlider.d.ts +11 -11
- package/widgets/Track.d.ts +2 -2
- package/widgets/UtilityNetworkAssociations.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +4 -4
- package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
- package/widgets/ValuePicker.d.ts +5 -5
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
- package/widgets/smartMapping/ColorSlider.d.ts +1 -1
- package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
- package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
- package/widgets/smartMapping/SizeSlider.d.ts +1 -1
- package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
- package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
- package/widgets/support/GridControls.d.ts +1 -1
- package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
- package/widgets/support/SnappingControls.d.ts +6 -6
- package/assets/esri/core/workers/chunks/e0519f24430fecead87b.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{sqlAnd as e}from"../../../core/sql.js";import r from"../../../geometry/Point.js";import t from"../../../geometry/SpatialReference.js";import{polygonCentroidPoint as n}from"../../../geometry/support/centroid.js";import{searchImages as o}from"../../../layers/orientedImagery/queries.js";import{createCoveragePolygon as i}from"../../../layers/orientedImagery/core/coverageUtils.js";async function s(e,t,s,a){const{polygon:
|
|
2
|
+
import{sqlAnd as e}from"../../../core/sql.js";import r from"../../../geometry/Point.js";import t from"../../../geometry/SpatialReference.js";import{polygonCentroidPoint as n}from"../../../geometry/support/centroid.js";import{searchImages as o}from"../../../layers/orientedImagery/queries.js";import{createCoveragePolygon as i}from"../../../layers/orientedImagery/core/coverageUtils.js";async function s(e,t,s,a,c){const{polygon:u}=i(t.attributes),y=r.fromJSON(n(u));y.z=void 0;const d=h(e.definitionExpression,s);let f,p;try{f=await o({layerInstanceOrURL:e,point:y,queryParams:{where:d,timeExtent:a}},c)}catch(l){p=l}return new m(y,f,p)}async function a(e,r,t,n,i){const s=e.sequenceOrderField??"SequenceOrder",a=h(e.definitionExpression,t,`${s} IS NOT NULL`);let c,u;try{c=await o({layerInstanceOrURL:e,point:r,queryParams:{where:a,orderByFields:[`${s}`],returnGeometry:!0,outFields:["*"],timeExtent:n}},i)}catch(y){u=y}return new m(r,c,u)}function c(e,r,t,n){const o=e.sequenceOrderField,i=h(e.definitionExpression,r,`${o} IS NOT NULL`),s=e.createQuery();return s.where=i,s.timeExtent=t,e.queryFeatureCount(s,n)}async function u(r,n,o,i="ASC",s,a,c){const u=r.sequenceOrderField??"SequenceOrder";let y=h(r.definitionExpression,s,`${u} IS NOT NULL`);const d="number"==typeof n?n-1:void 0;"string"===n&&(y=e(y,`${u} = ${n}`));const m=r.createQuery();m.where=y,m.start=d,m.num=o,m.timeExtent=a,m.orderByFields=[`${u} ${i}`],r.spatialReference.isGeographic&&(m.outSpatialReference=t.WebMercator);try{const e=await r.queryFeatures(m,c);return await w(e,r),new f(e)}catch(p){return new f(void 0,p)}}async function y(e,r,n=0,o=1,i,s,a){const c=e.sequenceOrderField??"SequenceOrder",u=l(c,n),y=h(e.definitionExpression,i,p(n,r,c)),d=e.createQuery();d.where=y,d.num=o,d.orderByFields=u,d.timeExtent=s,e.spatialReference.isGeographic&&(d.outSpatialReference=t.WebMercator);try{const r=await e.queryFeatures(d,a);return await w(r,e),new f(r)}catch(m){return new f(void 0,m)}}async function d(e,r,n,o,i){const s=Array.isArray(r)?r:[r],a=h(e.definitionExpression,n,`${e.objectIdField} IN (${s.join(",")})`),c=e.createQuery();c.where=a,e.spatialReference.isGeographic&&(c.outSpatialReference=t.WebMercator),o&&(c.timeExtent=o);try{const r=await e.queryFeatures(c,i);return await w(r,e),new f(r)}catch(u){return new f(void 0,u)}}class f{constructor(e,r){this.response=e,this.error=r}}class m{constructor(e,r,t){this.nextLocation=e,this.response=r,this.error=t}}function p(e,r,t){return e>0?`${t} IS NOT NULL AND ${t} > ${r}`:`${t} IS NOT NULL AND ${t} < ${r}`}function l(e,r){return r>0?[`${e}`]:[`${e} DESC`]}async function w(e,r){const t=await import("../../../layers/orientedImagery/core/ExposurePoint.js").then(e=>e.default);e.features.forEach(e=>{const n=t.fromJSON({...e.toJSON(),layer:r});n&&(e.attributes=n)})}function h(...r){let t="1=1";return r.forEach(r=>{t=e(t,r)}),t}export{m as QueryNextLocationFeaturesResponse,f as QueryOrientedImageryFeaturesResponse,y as queryAfterSequenceField,d as queryFeatureByObjectIds,s as queryNextLocationFeatures,u as queryOffsetSequenceFeatures,c as querySequenceCount,a as querySequenceFeaturesAroundPoint};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{getMetersPerUnitForSR as
|
|
2
|
+
import{getMetersPerUnitForSR as n}from"../../../core/units.js";import t from"../../../geometry/Extent.js";import{getWebMercatorScalingFactor as e}from"../../../layers/orientedImagery/transformations/utils.js";import{clockwiseDirections as r}from"../constants.js";function o(r,o){const{x:i,y:s,spatialReference:f}=r,u=o*e(s,f)/n(f);return new t({xmin:i-u,xmax:i+u,ymin:s-u,ymax:s+u,spatialReference:r.spatialReference})}function i(n){return!n||null===n.previous||null===n.next}function s(n,t,e=1){if(null==n[t])return!0;const o=n=>n?r.reduce((t,e)=>n[e]?t+1:t,0):0,i=new Set,s=[{node:n,depth:0}];for(;s.length;){const{node:n,depth:t}=s.shift();if(n&&!i.has(n)){if(i.add(n),o(n)<2)return!0;if(t<e)for(const e of r){const r=n[e];r&&!i.has(r)&&s.push({node:r,depth:t+1})}}}return!1}function f(n,t){if(!n&&!t)return 0;const e=Number(n),r=Number(t);if(!isNaN(e)&&!isNaN(r))return e-r;const o=String(n),i=String(t);return o<i?-1:o>i?1:0}export{o as createExtentAroundPoint,s as shouldQueryAndNavigate,i as shouldQueryAndNavigateSequentially,f as sortStringOrNumber};
|
|
@@ -7,7 +7,7 @@ export interface PopupVisibleElementsProperties extends Partial<Pick<PopupVisibl
|
|
|
7
7
|
* The visible elements that are displayed within the widget.
|
|
8
8
|
* This provides the ability to turn individual elements of the widget's display on/off.
|
|
9
9
|
*
|
|
10
|
-
* 
|
|
11
11
|
*
|
|
12
12
|
* @deprecated since 5.0, use the [Popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup) component instead.
|
|
13
13
|
* @since 5.0
|
|
@@ -38,7 +38,7 @@ export default class PopupVisibleElements extends Accessor {
|
|
|
38
38
|
/**
|
|
39
39
|
* Indicates whether to display the group heading for a list of multiple features.
|
|
40
40
|
*
|
|
41
|
-
* 
|
|
42
42
|
*
|
|
43
43
|
* @default true
|
|
44
44
|
* @since 5.0
|
package/widgets/Popup.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface PopupProperties extends WidgetProperties, Partial<Pick<Popup, "
|
|
|
24
24
|
/**
|
|
25
25
|
* [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects.
|
|
26
26
|
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
27
|
-
* By default, popups have a `Zoom To` action styled with a magnifying glass icon .
|
|
28
28
|
* When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
|
|
29
29
|
*
|
|
30
30
|
* You may remove this default action by setting [PopupViewModel.includeDefaultActions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/PopupViewModel/#includeDefaultActions) to `false`, or by setting the
|
|
@@ -211,16 +211,16 @@ export interface PopupEvents extends FeaturesViewModelEvents {}
|
|
|
211
211
|
* and [content](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#content) properties.
|
|
212
212
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
213
213
|
*
|
|
214
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=intro-popup)
|
|
215
215
|
*
|
|
216
216
|
* In the image above, the text "Marriage in New York County Census Tract 8" is the popup's `title`. The remaining text is
|
|
217
|
-
* its `content`. A dock button  may also be available in the
|
|
218
218
|
* top right corner of the popup. This allows the user to dock the popup to one of the sides or corners of the view.
|
|
219
219
|
* The options for docking may be set in the [dockOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#dockOptions) property.
|
|
220
220
|
*
|
|
221
221
|
* Popups can also contain [actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#actions) that act like buttons,
|
|
222
222
|
* which execute a function defined by the developer when clicked.
|
|
223
|
-
* By default, every popup has a "Zoom to" action 
|
|
224
224
|
* that allows users to zoom to the selected feature. See the [actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#actions)
|
|
225
225
|
* property for information about adding custom actions to a popup.
|
|
226
226
|
*
|
|
@@ -267,7 +267,7 @@ export default class Popup extends Widget {
|
|
|
267
267
|
/**
|
|
268
268
|
* [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects.
|
|
269
269
|
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
270
|
-
* By default, popups have a `Zoom To` action styled with a magnifying glass icon .
|
|
271
271
|
* When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
|
|
272
272
|
*
|
|
273
273
|
* You may remove this default action by setting [PopupViewModel.includeDefaultActions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/PopupViewModel/#includeDefaultActions) to `false`, or by setting the
|
|
@@ -32,7 +32,7 @@ export interface MapSurroundInfoOptions {
|
|
|
32
32
|
* The main benefit of this class is that it allows developers to give a name to a preferred `format` and `layout`
|
|
33
33
|
* and if there should be a `Legend` present or not, in a reusable way. This is what the UI looks like in a portal:
|
|
34
34
|
*
|
|
35
|
-
* [](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/#demo/)
|
|
36
36
|
*
|
|
37
37
|
* @since 4.18
|
|
38
38
|
* @see [Print widget](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/) - _Deprecated since 4.33. Use the [Print component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/) instead._
|
|
@@ -74,14 +74,14 @@ export default class TemplateOptions extends Accessor {
|
|
|
74
74
|
* defines the file name of the downloadable printed map, and the title of the map in the printout.
|
|
75
75
|
* Clicking on the download icon or the file name will download the printed map.
|
|
76
76
|
*
|
|
77
|
-
* 
|
|
78
78
|
*
|
|
79
79
|
* If the application and the print service are not on the same origin, this property
|
|
80
80
|
* defines the title of the map in the printout. The file name of the downloadable printed map
|
|
81
81
|
* will be generated by the ArcGIS Enterprise that hosts the print service.
|
|
82
82
|
* Clicking on the external link icon or the file name will open the printed map in a new window.
|
|
83
83
|
*
|
|
84
|
-
* 
|
|
85
85
|
*
|
|
86
86
|
* @since 4.14
|
|
87
87
|
*/
|
|
@@ -202,14 +202,14 @@ export default class TemplateOptions extends Accessor {
|
|
|
202
202
|
* defines the file name of the downloadable printed map, and the title of the map in the printout.
|
|
203
203
|
* Clicking on the download icon or the file name will download the printed map.
|
|
204
204
|
*
|
|
205
|
-
* 
|
|
206
206
|
*
|
|
207
207
|
* If the application and the print service are not on the same origin, this property
|
|
208
208
|
* defines the title of the map in the printout. The file name of the downloadable printed map
|
|
209
209
|
* will be generated by the ArcGIS Enterprise that hosts the print service.
|
|
210
210
|
* Clicking on the external link icon or the file name will open the printed map in a new window.
|
|
211
211
|
*
|
|
212
|
-
* 
|
|
213
213
|
*/
|
|
214
214
|
accessor title: string | null | undefined;
|
|
215
215
|
/**
|
|
@@ -67,7 +67,7 @@ export interface VisibleElementsScaleMenus {
|
|
|
67
67
|
* The user can also change the `minScale` and `maxScale` by using the dropdowns underneath the [minScaleLimit](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#minScaleLimit)
|
|
68
68
|
* and [maxScaleLimit](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#maxScaleLimit). The thumbnail shows a preview of the scale based on the [region](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#region) specified.
|
|
69
69
|
*
|
|
70
|
-
* 
|
|
71
71
|
*
|
|
72
72
|
* @deprecated since version 5.0. Use the [Scale Range Slider component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scale-range-slider/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
73
73
|
* @since 4.13
|
|
@@ -256,7 +256,7 @@ export default class SearchViewModel extends SearchViewModelSuperclass {
|
|
|
256
256
|
* String value used as a hint for input text when searching on multiple sources. See
|
|
257
257
|
* the image below to view the location and style of this text.
|
|
258
258
|
*
|
|
259
|
-
* 
|
|
260
260
|
*
|
|
261
261
|
* @default "Find address or place"
|
|
262
262
|
*/
|
|
@@ -358,7 +358,7 @@ export default class SearchViewModel extends SearchViewModelSuperclass {
|
|
|
358
358
|
/**
|
|
359
359
|
* Indicates whether location services are enabled.
|
|
360
360
|
*
|
|
361
|
-
* 
|
|
362
362
|
*
|
|
363
363
|
* > [!WARNING]
|
|
364
364
|
* >
|
|
@@ -455,11 +455,11 @@ export default class SearchViewModel extends SearchViewModelSuperclass {
|
|
|
455
455
|
* Indicates whether to display the option to search all sources. When `true`, the "All" option
|
|
456
456
|
* is displayed by default:
|
|
457
457
|
*
|
|
458
|
-
* 
|
|
459
459
|
*
|
|
460
460
|
* When `false`, no option to search all sources at once is available:
|
|
461
461
|
*
|
|
462
|
-
* 
|
|
463
463
|
*
|
|
464
464
|
* @default true
|
|
465
465
|
*/
|
package/widgets/Search.d.ts
CHANGED
|
@@ -216,7 +216,7 @@ export interface SearchEvents extends SearchViewModelEvents {
|
|
|
216
216
|
* This behavior can be changed by using the [LocatorSearchSource.localSearchDisabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/#localSearchDisabled)
|
|
217
217
|
* property.
|
|
218
218
|
*
|
|
219
|
-
* 
|
|
220
220
|
*
|
|
221
221
|
* You can use the view's [DefaultUI](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/) to add widgets to the view's user interface via the
|
|
222
222
|
* `ui` property on the view. See the example below.
|
|
@@ -278,7 +278,7 @@ export default class Search extends Widget {
|
|
|
278
278
|
* String value used as a hint for input text when searching on multiple sources. See
|
|
279
279
|
* the image below to view the location and style of this text in the context of the widget.
|
|
280
280
|
*
|
|
281
|
-
* 
|
|
282
282
|
*
|
|
283
283
|
* @default "Find address or place"
|
|
284
284
|
*/
|
|
@@ -396,7 +396,7 @@ export default class Search extends Widget {
|
|
|
396
396
|
/**
|
|
397
397
|
* Enables location services within the widget.
|
|
398
398
|
*
|
|
399
|
-
* 
|
|
400
400
|
*
|
|
401
401
|
* > [!WARNING]
|
|
402
402
|
* >
|
|
@@ -477,11 +477,11 @@ export default class Search extends Widget {
|
|
|
477
477
|
* Indicates whether to display the option to search all sources. When `true`, the "All" option
|
|
478
478
|
* is displayed by default:
|
|
479
479
|
*
|
|
480
|
-
* 
|
|
481
481
|
*
|
|
482
482
|
* When `false`, no option to search all sources at once is available:
|
|
483
483
|
*
|
|
484
|
-
* 
|
|
485
485
|
*
|
|
486
486
|
* @default true
|
|
487
487
|
*/
|
package/widgets/ShadowCast.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface ShadowCastProperties extends WidgetProperties, Partial<Pick<Sha
|
|
|
66
66
|
* shadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive
|
|
67
67
|
* shadow for more than 4 hours within the time interval of 10AM to 4PM.
|
|
68
68
|
*
|
|
69
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/widgets-shadow-cast/)
|
|
70
70
|
*
|
|
71
71
|
* **Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't
|
|
72
72
|
* receive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity
|
|
@@ -74,13 +74,13 @@ export interface ShadowCastProperties extends WidgetProperties, Partial<Pick<Sha
|
|
|
74
74
|
* amount of time that location is in shadow, rounded to 15 minute intervals. In this mode, the visualization
|
|
75
75
|
* can display shadow cast in a continuous way or in 1 hour intervals.
|
|
76
76
|
*
|
|
77
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/widgets-shadow-cast/)
|
|
78
78
|
*
|
|
79
79
|
* **Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.
|
|
80
80
|
* For example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display
|
|
81
81
|
* shadows for 10AM, 10:30AM and 11:00AM.
|
|
82
82
|
*
|
|
83
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/widgets-shadow-cast/)
|
|
84
84
|
*
|
|
85
85
|
* The defaults for the time range and visualization settings can be changed using the
|
|
86
86
|
* [ShadowCastViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/ShadowCast/ShadowCastViewModel/).
|
|
@@ -310,7 +310,7 @@ export interface SketchViewModelEvents {
|
|
|
310
310
|
* For example, the sample [Filter SceneLayer with FeatureFilter](https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayer-feature-masking/) demonstrates
|
|
311
311
|
* an example of utilizing the SketchViewModel with a custom UI.
|
|
312
312
|
*
|
|
313
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayer-feature-masking/)
|
|
314
314
|
*
|
|
315
315
|
* Additionally, users can pick and choose which draw tools are relevant to their applications. In this example, only the `point`, `polyline`, and `polygon` tools are used.
|
|
316
316
|
*
|
|
@@ -327,10 +327,10 @@ export interface SketchViewModelEvents {
|
|
|
327
327
|
*
|
|
328
328
|
* Gesture | Action | Example |
|
|
329
329
|
* ---------|---------|---------|
|
|
330
|
-
* Z | Incrementally undo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Undo" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
331
|
-
* R | Incrementally redo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Redo" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
332
|
-
* Ctrl | Toggle snapping dependent on the configuration in [snappingOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#snappingOptions). | <img alt="Ctrl key" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
333
|
-
* Tab | While drawing or updating features, activate the tooltips' input mode to enter values or apply constraints. Depends on [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#tooltipOptions) configuration. | <img alt="Tab key" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
330
|
+
* Z | Incrementally undo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Undo" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/undo-line.gif" width="400px"> |
|
|
331
|
+
* R | Incrementally redo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Redo" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/redo-line.gif" width="400px"> |
|
|
332
|
+
* Ctrl | Toggle snapping dependent on the configuration in [snappingOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#snappingOptions). | <img alt="Ctrl key" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/ctrl-key-polygon.gif" width="400px"> |
|
|
333
|
+
* Tab | While drawing or updating features, activate the tooltips' input mode to enter values or apply constraints. Depends on [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#tooltipOptions) configuration. | <img alt="Tab key" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/tab-key-editing-constraints.gif" width="400px"> |
|
|
334
334
|
*
|
|
335
335
|
* #### Creating point graphics
|
|
336
336
|
*
|
|
@@ -345,12 +345,12 @@ export interface SketchViewModelEvents {
|
|
|
345
345
|
*
|
|
346
346
|
* Gesture | Action | Example |
|
|
347
347
|
* ---------|---------|---------|
|
|
348
|
-
* Left-click | Adds a vertex at the pointer location. | <img alt="Left-click" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
349
|
-
* Left-drag | Adds a vertex for each pointer move in [hybrid](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) or [freehand](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) mode. | <img alt="Left drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
350
|
-
* F | Adds a vertex to the `polyline` or `polygon` graphic. Completes the `rectangle` or `circle` polygon graphic in [click](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) mode. | <img alt="F vertex add" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
351
|
-
* Enter | Completes the `polyline` or `polygon` graphic without the staged vertex. A `double-click` will complete the graphic at the current mouse cursor's position. | <img alt="Enter" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
352
|
-
* Spacebar+Left-drag | Pan the view while creating a polyline or polygon graphic. | <img alt="Space left drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
353
|
-
* Left-click on the first vertex | Completes the polygon graphic sketch. | <img alt="Left-click first vertex" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
348
|
+
* Left-click | Adds a vertex at the pointer location. | <img alt="Left-click" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/left-click-line.gif" width="400px"> |
|
|
349
|
+
* Left-drag | Adds a vertex for each pointer move in [hybrid](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) or [freehand](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) mode. | <img alt="Left drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/left-drag-line.gif" width="400px"> |
|
|
350
|
+
* F | Adds a vertex to the `polyline` or `polygon` graphic. Completes the `rectangle` or `circle` polygon graphic in [click](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#defaultCreateOptions) mode. | <img alt="F vertex add" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/f-key-line.gif" width="400px"> |
|
|
351
|
+
* Enter | Completes the `polyline` or `polygon` graphic without the staged vertex. A `double-click` will complete the graphic at the current mouse cursor's position. | <img alt="Enter" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/enter-line.gif" width="400px"> |
|
|
352
|
+
* Spacebar+Left-drag | Pan the view while creating a polyline or polygon graphic. | <img alt="Space left drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/space-left-drag.gif" width="400px"> |
|
|
353
|
+
* Left-click on the first vertex | Completes the polygon graphic sketch. | <img alt="Left-click first vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/left-click-vertex.gif" width="400px"> |
|
|
354
354
|
*
|
|
355
355
|
* #### Creating polygon graphics with predefined shapes
|
|
356
356
|
*
|
|
@@ -358,10 +358,10 @@ export interface SketchViewModelEvents {
|
|
|
358
358
|
*
|
|
359
359
|
* Gesture | Action | Example |
|
|
360
360
|
* ------- | ------ |---------|
|
|
361
|
-
* Left-click+Drag | Creates a `rectangle` graphic with dimensions based on the bounding box between initial click and cursor location. Creates a `circle` graphic with radius based on the distance between initial click and cursor location. | <img alt="Polygon Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
362
|
-
* Shift+Left-click+Drag | Changes the shape from a `rectangle` to a `square` or from a `circle` to an `ellipse`. | <img alt="Shift Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
363
|
-
* Alt+Left-click+Drag | Creates a `rectangle` graphic with a center at initial click, and dimensions based on the distance between the initial click to the cursor location. Creates a `circle` graphic with a radius based on the bounding box between the initial click and the cursor location. | <img alt="Alt Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
364
|
-
* Shift+Alt+Left-click+Drag | Combines the behavior described above. | <img alt="Shift Alt Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
361
|
+
* Left-click+Drag | Creates a `rectangle` graphic with dimensions based on the bounding box between initial click and cursor location. Creates a `circle` graphic with radius based on the distance between initial click and cursor location. | <img alt="Polygon Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/polygon-left-click-drag.gif" width="400px"> |
|
|
362
|
+
* Shift+Left-click+Drag | Changes the shape from a `rectangle` to a `square` or from a `circle` to an `ellipse`. | <img alt="Shift Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/shift-left-click-drag.gif" width="400px"> |
|
|
363
|
+
* Alt+Left-click+Drag | Creates a `rectangle` graphic with a center at initial click, and dimensions based on the distance between the initial click to the cursor location. Creates a `circle` graphic with a radius based on the bounding box between the initial click and the cursor location. | <img alt="Alt Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/alt-left-click-drag.gif" width="400px"> |
|
|
364
|
+
* Shift+Alt+Left-click+Drag | Combines the behavior described above. | <img alt="Shift Alt Left-click drag" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/shift-alt-left-click-drag.gif" width="400px"> |
|
|
365
365
|
*
|
|
366
366
|
* <span id="update-graphics"></span>
|
|
367
367
|
* #### Updating graphics
|
|
@@ -372,29 +372,29 @@ export interface SketchViewModelEvents {
|
|
|
372
372
|
*
|
|
373
373
|
* Gesture | Action | Example |
|
|
374
374
|
* ---------|---------|----------|
|
|
375
|
-
* Left-click on a graphic | Select a graphic to move, rotate or scale. | <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
376
|
-
* Shift+Left-click graphics | Select multiple graphics to move, rotate or scale.| <img alt="Select graphics" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
377
|
-
* Drag graphic | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
378
|
-
* Drag rotate handle | Rotate the selected graphic.| <img alt="Rotate the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
379
|
-
* Drag scale handle | Scale the selected graphic.| <img alt="Scale the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
380
|
-
* Shift+Left-click+Drag scale handle | Scale the selected graphic at the center. | <img alt="Scale the graphic at the center" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
381
|
-
* Z | Incrementally undo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Undo update" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
382
|
-
* R | Incrementally redo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Redo update" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
383
|
-
* Left-click on view (not the graphic) | Complete the graphic update. | <img alt="Sketch update complete" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
384
|
-
* Press `Delete` key | Remove the selected graphic(s) from the [layer](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#layer). | <img alt="Sketch delete graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
375
|
+
* Left-click on a graphic | Select a graphic to move, rotate or scale. | <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-box-mode.gif" width="400px"> |
|
|
376
|
+
* Shift+Left-click graphics | Select multiple graphics to move, rotate or scale.| <img alt="Select graphics" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-graphics.gif" width="400px"> |
|
|
377
|
+
* Drag graphic | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-box-move.gif" width="400px"> |
|
|
378
|
+
* Drag rotate handle | Rotate the selected graphic.| <img alt="Rotate the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-rotate.gif" width="400px"> |
|
|
379
|
+
* Drag scale handle | Scale the selected graphic.| <img alt="Scale the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-scale.gif" width="400px"> |
|
|
380
|
+
* Shift+Left-click+Drag scale handle | Scale the selected graphic at the center. | <img alt="Scale the graphic at the center" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/scale-shift-left-click-drag.gif" width="400px"> |
|
|
381
|
+
* Z | Incrementally undo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Undo update" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-update-undo.gif" width="400px"> |
|
|
382
|
+
* R | Incrementally redo actions recorded in the stack. The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic. | <img alt="Redo update" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-update-redo.gif" width="400px"> |
|
|
383
|
+
* Left-click on view (not the graphic) | Complete the graphic update. | <img alt="Sketch update complete" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-update-complete.gif" width="400px"> |
|
|
384
|
+
* Press `Delete` key | Remove the selected graphic(s) from the [layer](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#layer). | <img alt="Sketch delete graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-delete-graphic.gif" width="400px">
|
|
385
385
|
*
|
|
386
386
|
* The following update operations can be performed on a single polyline or polygon graphic:
|
|
387
387
|
*
|
|
388
388
|
* Gesture | Action | Example |
|
|
389
389
|
* ---------|---------|----------|
|
|
390
|
-
* Left-click on a graphic | Select a graphic to move or reshape.| <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
391
|
-
* Drag graphic | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
392
|
-
* Left-click on a ghost vertex| Add a new vertex. | <img alt="Add a vertex" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
393
|
-
* Left-click on a vertex| Select a vertex. | <img alt="Select a vertex" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
394
|
-
* Shift+Left-click on vertices | Select or unselect multiple vertices. | <img alt="Select vertices" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
395
|
-
* Drag vertex | Move the selected vertex or vertices. | <img alt="Drag vertices" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
396
|
-
* Right-click on a vertex | Delete a vertex. | <img alt="Delete a vertex" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
397
|
-
* Select multiple vertices and press `Backspace` or `Delete` key | Delete multiple vertices. | <img alt="Delete vertices" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
390
|
+
* Left-click on a graphic | Select a graphic to move or reshape.| <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-reshape-mode.gif" width="400px"> |
|
|
391
|
+
* Drag graphic | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-drag.gif" width="400px"> |
|
|
392
|
+
* Left-click on a ghost vertex| Add a new vertex. | <img alt="Add a vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-add-vertices.gif" width="400px"> |
|
|
393
|
+
* Left-click on a vertex| Select a vertex. | <img alt="Select a vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-selectvertex.gif" width="400px"> |
|
|
394
|
+
* Shift+Left-click on vertices | Select or unselect multiple vertices. | <img alt="Select vertices" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-selectvertices.gif" width="400px"> |
|
|
395
|
+
* Drag vertex | Move the selected vertex or vertices. | <img alt="Drag vertices" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-dragvertices.gif" width="400px"> |
|
|
396
|
+
* Right-click on a vertex | Delete a vertex. | <img alt="Delete a vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-delete-vertex.gif" width="400px"> |
|
|
397
|
+
* Select multiple vertices and press `Backspace` or `Delete` key | Delete multiple vertices. | <img alt="Delete vertices" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-delete-vertices.gif" width="400px"> |
|
|
398
398
|
*
|
|
399
399
|
* <span id="point-transform-tool"></span>
|
|
400
400
|
*
|
|
@@ -402,11 +402,11 @@ export interface SketchViewModelEvents {
|
|
|
402
402
|
*
|
|
403
403
|
* Gesture | Action | Example |
|
|
404
404
|
* ---------|---------|----------|
|
|
405
|
-
* Left-click on a graphic | Select a graphic to move, rotate or scale. | <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
406
|
-
* Drag inner handle | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
407
|
-
* Drag height handle | Move the selected graphic vertically (on the z axis).| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
408
|
-
* Drag outer handle sideways | Rotate the selected graphic.| <img alt="Rotate the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
409
|
-
* Drag outer handle inwards or outwards | Scale the selected graphic.| <img alt="Scale the graphic" src="https://developers.arcgis.com/javascript/latest/assets/
|
|
405
|
+
* Left-click on a graphic | Select a graphic to move, rotate or scale. | <img alt="Select a graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-update-point-3D.gif" width="400px"> |
|
|
406
|
+
* Drag inner handle | Move the selected graphic.| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-transform-move-point.gif" width="400px"> |
|
|
407
|
+
* Drag height handle | Move the selected graphic vertically (on the z axis).| <img alt="Drag the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-transform-movez-point.gif" width="400px"> |
|
|
408
|
+
* Drag outer handle sideways | Rotate the selected graphic.| <img alt="Rotate the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-transform-rotate-point.gif" width="400px"> |
|
|
409
|
+
* Drag outer handle inwards or outwards | Scale the selected graphic.| <img alt="Scale the graphic" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/sketch-transform-scale-point.gif" width="400px"> |
|
|
410
410
|
*
|
|
411
411
|
* </details>
|
|
412
412
|
*
|
|
@@ -441,7 +441,7 @@ export interface SketchViewModelEvents {
|
|
|
441
441
|
* In earlier versions, setting these properties would only override the graphic symbology after completing the draw operation. The [activeFillSymbol](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/#activeFillSymbol) property allowed users to override the default drawing symbol in order to match the final `polygonSymbol`.
|
|
442
442
|
* This was needed for users to see what the final graphic symbol would look like while actively drawing. Setting the `pointSymbol`, `polylineSymbol`, and `polygonSymbol` now allows users to see what the final graphic symbol will look like while still actively drawing a graphic. The image below demonstrates the behavior when setting the `polygonSymbol`.
|
|
443
443
|
*
|
|
444
|
-
* 
|
|
445
445
|
*
|
|
446
446
|
* The following is the code snippet used in the example above.
|
|
447
447
|
*
|