Release notes for 4.11
Editing in the MapView is now supported using the Editor widget. This widget provides an out-of-the-box experience to help streamline the editing experience within a web application. Prior to this release, while editing was possible it required a bit more work. For example, attribute editing could be handled via the FeatureForm widget. You could also use the FeatureTemplates widget to display templates from one or more feature layers. Prior to this version, they had to be used in conjunction with FeatureLayer.applyEdits as it enables an end user the ability to update a feature.
At 4.11, we combined all this editing functionality into one Editor widget. This does not mean that these other widgets are going away. Rather, it gives more flexibility to the developer in regards to web application editing.
The Editor widget has two Workflows, i.e.
update. These allow you to either add features or edit and/or delete existing features within an editable feature layer. The widget automatically recognizes which feature layers within the map that are editable.
The API now supports GeoJSONLayer in both 2D MapViews and 3D SceneViews. GeoJSON is a format for encoding a variety of geographic data structures. See the Add a GeoJSONLayer to your map sample to learn more about how this layer works.
You can now draw graphics with point, line and polygon geometries in a SceneView. The Sketch widget provides out-of-the-box functionality for creating and updating graphics in a SceneView. Change the MapView class with SceneView in the Sketch widget sample to draw graphics on a globe.
A more customized 3D drawing experience is possible by setting 3D symbols on the SketchViewModel. This can be useful for example to draw extruded building footprints or to draw points with volumetric point symbols. The Sketch in 3D sample explains how to draw with custom symbols in a SceneView.
As part of the update operation in the SketchViewModel, a point with ObjectSymbol3DLayer can be moved, rotated and scaled using the 3D point transform tool. The tool is activated when the point graphic is being updated and it adds intuitive handles to manipulate the graphic. Import glTF 3D Models sample shows how to use this tool.
3D models in glTF format can now be visualized in a SceneView. If the model is a symbol for a point (like a tree or a bus stop) then you can set it as a resource for ObjectSymbol3DLayer. Models that represent 3D geometry (like a geological model or a building) can be converted to a Mesh geometry using the Mesh.createFromGLTF() method. Read how to add your own 3D models in the Visualizing points with 3D symbols guide topic and see how to import glTF 3D models in this sample.
You can use the DotDensityRenderer to create dot density visualizations for polygon layers. DotDensityRenderer randomly draws dots that represent a fixed value of an attribute or a subset of attributes within each polygon to visualize the relative density of the attribute. Check out the Dot density sample to learn more.
You can now generate a HeatmapRenderer using the Heatmap renderer creator module. This allows you to create a nice heatmap without manually setting your own color scheme or configuring how those colors correspond to pixel intensity values.
At this release, we added the initial support for time-enabled FeatureLayers. You can get time information associated with a layer by checking its timeInfo property. Both server and client-side queries now return results for a given time extent. Time also can be applied to client side filters and effects.
At this release, we added support for client-side filtering in both 2D and 3D. This is made possible through setting FeatureLayerView.filter. Only the features that satisfy the filter conditions will be displayed on the view. Features can be filtered on the client side based on attributes, time, geometry and distance. See Filter features by attributes.
We also added support for client-side feature effects in 2D. FeatureEffect allows for the selection of features via a filter, and an insideEffect and outsideEffect can be applied those features that respectively pass or fail the filter requirements. An effect can be specified on a FeatureLayerView through its effect property. See Apply effects to features sample.
The FeatureForm widget supports setting visibility on specific fields and grouped fields. The visibility is controlled by an Arcade expression set using either the FieldConfig's or FieldGroupConfig's
visibilityExpression property. The expression evaluates to either
false and if
true, will display the configured field or grouped fields.
See the Advanced Attribute Editing sample for a working example.
This feature is enabled on desktop devices for scenes with the qualityProfile set to
SceneView.hitTest now returns all graphics (including graphics draped on the terrain) that intersect the specified screen coordinate. Setting parameters like
exclude allows you to define the layers that will be used for the hitTest. The result of a hitTest returns additional information like distance to the hit point on the graphic or distance to the ground hit. The SceneView - hitTest sample shows which graphics are hit and how you can use the distance to mark the point where the graphic was hit.
Using the castShadows property you can now specify which symbols should cast shadows. See the SceneView - shadow and lighting settings sample to learn how to disable shadows on individual symbol layers and how to set lighting options in a SceneView.
You can author Arcade expressions for popups that access features from any layer in the map. This is made possible through the FeatureSet capabilities introduced at Arcade version 1.5. This means you can display information about the selected feature and its relationship to other features in the same layer or other layers. This includes the ability to check spatial relationships using geometry functions.
The UI of the OAuth popup confirmation dialog has been slightly updated to reflect where the user is signing into.
In this release, we added support for time. This means most web maps can now be read using the 4.x API. Not yet supported web map features include WFS, clustering, and temporal renderers for StreamLayer.
Version 4.11 adds support for the Ukrainian (uk) locale. See Localization topic for more information about using different locales.
- Added support for hitTest on labels in SceneView. If a label intersects the screen coordinates, then the graphic associated with the label is returned in the hitTestResult.
- Added support for
labelproperties of all widgets to be overridden by the user instead of being read-only properties.
- Added support for 2D geodesic measurements for 71 solar system planets and moons (including Earth) using the AreaMeasurement and DistanceMeasurement widgets.
- Navigation using WASD keys is now supported in SceneView. Read more about keyboard navigation in the SceneView navigation section. The sample "Look around camera position" showing how to change tilt and heading using WASD keys was removed.
- Removed GraphicsLayer from appearing in the legend displayed from the PrintTask by default. Use the LegendLayer class to add
GraphicsLayerto the legend.
- Added class esri/geometry/support/MeshMaterial.
- Added class esri/geometry/support/MeshTexture.
- Added class esri/layers/GeoJSONLayer.
- Added class esri/layers/support/fieldUtils.
- Added class esri/layers/support/TimeInfo.
- Added class esri/popup/content/AttachmentsContent.
- Added class esri/popup/content/BarChartMediaInfo.
- Added class esri/popup/content/ColumnChartMediaInfo.
- Added class esri/popup/content/Content.
- Added class esri/popup/content/FieldsContent.
- Added class esri/popup/content/ImageMediaInfo.
- Added class esri/popup/content/LineChartMediaInfo.
- Added class esri/popup/content/MediaContent.
- Added class esri/popup/content/PieChartMediaInfo.
- Added class esri/popup/content/support/ChartMediaInfoValue.
- Added class esri/popup/content/support/ChartMediaInfoValueSeries.
- Added class esri/popup/content/support/ImageMediaInfoValue.
- Added class esri/popup/content/TextContent.
- Added class esri/popup/content.
- Added class esri/popup/ExpressionInfo.
- Added class esri/popup/FieldInfo.
- Added class esri/popup/LayerOptions.
- Added class esri/popup/RelatedRecordsInfo.
- Added class esri/popup/support/FieldInfoFormat.
- Added class esri/popup/support/RelatedRecordsInfoFieldOrder.
- Added class esri/renderers/DotDensityRenderer.
- Added class
- Added class
- Added class
- Added class
- Added class esri/renderers/support/AttributeColorInfo.
- Added class esri/symbols/support/symbolUtils.
- Added class esri/tasks/support/AlgorithmicColorRamp.
- Added class esri/tasks/support/ColorRamp.
- Added class esri/tasks/support/MultipartColorRamp.
- Added class esri/TimeExtent.
- Added class esri/views/2d/layers/BaseLayerViewGL2D.
- Added class esri/views/draw/Draw.
- Added class esri/views/draw/DrawAction.
- Added class esri/views/draw/MultipointDrawAction.
- Added class esri/views/draw/PointDrawAction.
- Added class esri/views/draw/PolygonDrawAction.
- Added class esri/views/draw/PolylineDrawAction.
- Added class esri/views/draw/SegmentDrawAction.
- Added class esri/views/layers/GeoJSONLayerView.
- Added class esri/views/layers/GeoRSSLayerView.
- Added class esri/views/layers/support/FeatureEffect.
- Added class esri/views/layers/support/FeatureFilter.
- Added class esri/webmap/background/ColorBackground.
- Added class esri/widgets/Editor/EditorViewModel.
- Added class esri/widgets/Editor/Workflow.
- Added class esri/widgets/Editor.
- Added class esri/widgets/Legend/LegendViewModel.
- Added class esri/widgets/Legend/support/ActiveLayerInfo.
- Added class esri/widgets/Search/LayerSearchSource.
- Added event delete to esri/widgets/Sketch.
- Added event select to esri/widgets/FeatureTemplates/FeatureTemplatesViewModel.
- Added method clone to esri/widgets/FeatureTemplates/TemplateItem.
- Added method createLayerView to esri/layers/BaseDynamicLayer.
- Added method createLayerView to esri/layers/BaseElevationLayer.
- Added method createLayerView to esri/layers/BaseTileLayer.
- Added method createLayerView to esri/layers/BingMapsLayer.
- Added method createLayerView to esri/layers/ElevationLayer.
- Added method createLayerView to esri/layers/GeoRSSLayer.
- Added method createLayerView to esri/layers/GraphicsLayer.
- Added method createLayerView to esri/layers/GroupLayer.
- Added method createLayerView to esri/layers/IntegratedMeshLayer.
- Added method createLayerView to esri/layers/KMLLayer.
- Added method createLayerView to esri/layers/Layer.
- Added method createLayerView to esri/layers/MapImageLayer.
- Added method createLayerView to esri/layers/MapNotesLayer.
- Added method createLayerView to esri/layers/OpenStreetMapLayer.
- Added method createLayerView to esri/layers/PointCloudLayer.
- Added method createLayerView to esri/layers/TileLayer.
- Added method createLayerView to esri/layers/UnknownLayer.
- Added method createLayerView to esri/layers/UnsupportedLayer.
- Added method createLayerView to esri/layers/VectorTileLayer.
- Added method createLayerView to esri/layers/WebTileLayer.
- Added method createLayerView to esri/layers/WMSLayer.
- Added method createLayerView to esri/layers/WMTSLayer.
- Added method createPopupTemplate to esri/layers/buildingSublayers/BuildingComponentSublayer.
- Added method emit to esri/views/MapView.
- Added method emit to esri/views/SceneView.
- Added method emit to esri/views/View.
- Added method load to esri/widgets/Directions/DirectionsViewModel.
- Added method loadAll to esri/layers/buildingSublayers/BuildingGroupSublayer.
- Added method select to esri/widgets/FeatureTemplates/FeatureTemplatesViewModel.
- Added method
- Added methods createFromGLTF, scale to esri/geometry/Mesh.
- Added methods createLayerView, loadAll to esri/layers/BuildingSceneLayer.
- Added methods createLayerView, createPopupTemplate to esri/layers/CSVLayer.
- Added methods createLayerView, createPopupTemplate, getField to esri/layers/FeatureLayer.
- Added methods createLayerView, createPopupTemplate to esri/layers/ImageryLayer.
- Added methods createLayerView, createPopupTemplate to esri/layers/SceneLayer.
- Added methods createLayerView, createPopupTemplate, getField to esri/layers/StreamLayer.
- Added methods getResults, getSuggestions to esri/widgets/Search/LocatorSearchSource.
- Added methods getResults, getSuggestions to esri/widgets/Search/SearchSource.
- Added methods isFulfilled, isRejected, isResolved, when to esri/views/2d/layers/BaseLayerView2D.
- Added properties actionsMenuEnabled, defaultPopupTemplateEnabled to esri/widgets/Popup.
- Added properties activeLayerInfos, viewModel to esri/widgets/Legend.
- Added properties activeMenu, allSources, defaultSources to esri/widgets/Search.
- Added properties availableFields, effect, filter to esri/views/layers/FeatureLayerView.
- Added properties declaredClass, suspended, updating, visible to esri/views/2d/layers/BaseLayerView2D.
- Added properties defaultPopupTemplateEnabled, map, spatialReference, visibleElements to esri/widgets/Feature.
- Added properties defaultPopupTemplateEnabled, lastEditInfo, map, spatialReference to esri/widgets/Feature/FeatureViewModel.
- Added properties editFieldsInfo, isTable, timeInfo to esri/layers/FeatureLayer.
- Added properties effect, filter to esri/views/layers/CSVLayerView.
- Added properties evaluatedVisibility, visibilityExpression to esri/widgets/FeatureForm/InputFieldGroup.
- Added properties filter, maximumNumberOfFeatures, maximumNumberOfFeaturesExceeded to esri/views/layers/SceneLayerView.
- Added properties isTable, objectIdField to esri/layers/StreamLayer.
- Added properties objectIdField, portalItem, timeInfo to esri/layers/CSVLayer.
- Added properties returnMetadata, where to esri/tasks/support/AttachmentQuery.
- Added properties returnQueryGeometry, timeExtent to esri/tasks/support/Query.
- Added property anchorPosition to esri/symbols/IconSymbol3DLayer.
- Added property background to esri/webmap/InitialViewProperties.
- Added property castShadows to esri/symbols/ExtrudeSymbol3DLayer.
- Added property castShadows to esri/symbols/FillSymbol3DLayer.
- Added property castShadows to esri/symbols/ObjectSymbol3DLayer.
- Added property castShadows to esri/symbols/PathSymbol3DLayer.
- Added property colorRamp to esri/renderers/support/AuthoringInfo.
- Added property defaultPopupTemplateEnabled to esri/widgets/Popup/PopupViewModel.
- Added property defaultUpdateOptions to esri/widgets/Sketch.
- Added property exifInfo to esri/layers/support/AttachmentInfo.
- Added property filterText to esri/widgets/FeatureTemplates.
- Added property itemRenderingRule to esri/layers/support/MosaicRule.
- Added property label to esri/widgets/Widget.
- Added property listMode to esri/layers/buildingSublayers/BuildingComponentSublayer.
- Added property listMode to esri/layers/buildingSublayers/BuildingGroupSublayer.
- Added property listMode to esri/layers/support/Sublayer.
- Added property opacity to esri/renderers/visualVariables/support/OpacityStop.
- Added property pointBarriers to esri/tasks/support/RouteParameters.
- Added property queryGeometry to esri/tasks/support/DirectionsFeatureSet.
- Added property queryGeometry to esri/tasks/support/FeatureSet.
- Added property renderer to esri/layers/ImageryLayer.
- Added property resampling to esri/layers/TileLayer.
- Added property type to esri/tasks/support/DataLayer.
- Added property valid to esri/widgets/FeatureForm/FeatureFormViewModel.
- Added property views to esri/views/View.
- Added property visibilityExpression to esri/widgets/FeatureForm/FieldConfig.
- Added property visibilityExpression to esri/widgets/FeatureForm/FieldGroupConfig.
- Added property where to esri/tasks/support/RelationshipQuery.
- The behavior of FeatureLayer.outFields has changed. It is no longer computed to include fields required for layer labeling, rendering, editing and elevation info. It now returns
nullunless it is explicitly set.
- In general, you no longer need to specify the outFields. The API automatically determines which fields to fetch. However, if you are using the fields in custom functionality, you might still need to explicitly add those using the outFields property.
- To find out which fields are available client-side, use the new availableFields property. It contains a list of attribute fields fetched for each feature including fields required for layer labeling, rendering, elevation info, and any additional fields defined with the FeatureLayer.outFields property. The availableFields is populated when the layer view is finished updating.
- Query.units property's default value is now
- Sublayer.createFeatureLayer() now returns a promise resolving to a FeatureLayer, as opposed to a FeatureLayer.
- Autocasting is no longer supported for Mesh geometry.
- Change to how texture transparency is interpreted in esri/geometry/support/MeshMaterial. Before, values below
0.1would be interpreted as fully transparent (i.e. masking), now this threshold was moved to
0.5. If the old behavior is desired, the threshold can now be explicitly changed using the alphaCutoff property.
- Moved the
selectmethod out of FeatureTemplates and into the FeatureTemplatesViewModel.
contentEnabledproperty on both the Feature widget and the FeatureViewModel.
Legendsupport from MapNotesLayer.
tokenproperty from all layer classes. The recommended approach to pass a token on a layer is to use IdentityManager.registerToken() or to use esriConfig.request.interceptors.
- Removed the
viewproperty from Feature widget and FeatureViewModel.
- The MapImageLayer.getImageUrl() method now returns
definitionExpressionproperty of AttachmentQuery class to where.
definitionExpressionproperty of RelationshipQuery class to where.
FeatureLayerSearchSourceclass to LayerSearchSource.
- As part of adding 3D drawing support, the 2D draw classes have moved:
- Several popup related classes have been moved, renamed or removed:
- ExpressionInfo class moved from
- FieldInfo class moved from
- LayerOptions class moved from
- RelatedRecordsInfo class moved from
esri/support/ContentElementto content and moved to
esri/support/ContentElement/ContentElementto Content and moved to
esri/support/ContentElement/Attachmentsto AttachmentsContent and moved to
esri/support/ContentElement/FieldsContentto FieldsContent and moved to
esri/support/ContentElement/Textto TextContent and moved to
esri/support/ContentElement/Mediato MediaContent and moved to
esri/support/ContentElement/Media/BarChartto BarChartMediaInfo and moved to
esri/support/RelatedRecordsInfo/FieldOrderto RelatedRecordsInfoFieldOrder and moved to
esri/support/FieldInfo/Formatto FieldInfoFormat and moved to
esri/support/ContentElement/Media/Chart/Seriesto ChartMediaInfoValueSeries and moved to
esri/support/ContentElement/Media/Chart/Valueto ChartMediaInfoValue and moved to
esri/support/ContentElement/Media/ColumnChartto ColumnChartMediaInfo and moved to
esri/support/ContentElement/Media/LineChartto LineChartMediaInfo and moved to
esri/support/ContentElement/Media/PieChartto PieChartMediaInfo and moved to
esri/support/ContentElement/Media/Imageto ImageMediaInfo and moved to
esri/support/ContentElement/Media/Image/Valueto ImageMediaInfoValue and moved to
- A graphic can only be in one GraphicsLayer at a time. When adding a graphic to a graphics layer, and if it is already in another graphics layer, the graphic is moved to the destination graphics layer.
- The developer and user experiences for 2D highlights have been improved in three ways:
- soft, anti-aliased edges
- decreased default opacity that is now consistent with the default settings used in 3D
- modified coverage algorithm that now highlights the transparent portions of lines and polygons
Please refer to the Breaking Changes guide topic for a complete list of breaking changes across all releases of the 4x API.
trianglestyle in SimpleMarkerSymbol and IconSymbol3DLayer is now supported in SceneView.
- Fixed an issue where active AreaMeasurement and DistanceMeasurement widgets were displaying as
Untitled layerin the LegendList widget.
- Fixed an issue with the
clearMeasurement()method while the measurement is active for both the AreaMeasurement2DViewModel and DistanceMeasurement2DViewModel.
- BUG-000117292: Fixed an issue where assigning to tileServers property resulted in error messages.
- BUG-000117868: Fixed an issue when switching between the same renderer type with different
valueExpressiondid not update the renderer correctly.
- BUG-000118610: Fixed an issue where the Expand widget would not display fully when closed on iOS devices.
- BUG-000119246: Fixed an issue where the Draw class failed to display a line while dragging after the first click/point.
- BUG-000119345, BUG-000117357, and BUG-000118286: Fixed issues where certain symbols would display clipped.
- BUG-000119350: Fixed an issue where Picture marker symbols render clipped when Y offset is defined.
- BUG-000119383: Fixed an issue when defining
templateOptionsvalues in the Layout tab of the Print widget no longer disappear once the Map Only tab is clicked.
- BUG-000119468: Fixed an issue where sometimes high resolution WMTS layers would not display entirely.
- BUG-000119655: Fixed an issue where the BasemapGallery widget threw errors when switching between Web Map Tile Service (WMTS) basemaps.
- BUG-000119660: Fixed an issue when using the Sketch widget when drawing a graphic across the International Date Line.
- BUG-000118567: Fixed an issue where PictureMarkerSymbols would hide TextSymbols when adding layered graphics.
We made two significant enhancements to the Sandbox environment of our Sample Code. First,
portalItems and Esri modules are clickable, and link to their respective documentation or item page in ArcGIS Online. Second, we have enabled local storage in the browser for changes made to samples in this environment. If a change is made, the sample from local storage will always be loaded until the user deletes the local copy using the
Revert link. The
Revert link is only displayed when a sample is loaded from the browser's local storage.
- Version 4.17 - October 2020
- Version 4.16 - July 2020
- Version 4.15 - April 2020
- Version 4.14 - December 2019
- Version 4.13 - October 2019
- Version 4.12 - June 2019
- Version 4.11 - March 2019
- Version 4.10 - December 2018
- Version 4.9 - September 2018
- Version 4.8 - July 2018
- Version 4.7 - April 2018
- Version 4.6 - December 2017
- Version 4.5 - September 2017
- Version 4.4 - July 2017
- Version 4.3 - March 2017
- Version 4.2 - December 2016
- Version 4.1 - September 2016
- Version 4.0 - May 2016