FeatureTable class had a significant overhaul in this release. The following details some of these major updates:
showDataTypes- When enabled, the data type of the field will display under the field label in the column header.
showGridHeader- Toggles the visibility of the feature table's header, which displays table name, number of features, etc.
gridOptions- Properties from the dgrid such as text selectability and pagination may be customized.
fieldInfos- Allows for formatting field values and customizing field functionality such as display and editability on a field-by-field basis.
dateOptions- Permits you to format the values of Date fields.
menuFunctions- With this property you can add custom functions as menu items in the 'Options' drop-down menu.
syncSelection- When enabled, interaction with the feature table (such as feature selections) will be reflected on the map.
zoomToSelection- When enabled, the map's extent will be updated to match the extent of selected features when the table is in 'sync selection' mode.
outFieldsproperty. Each column's menu now contains options for calculating simple statistics on numeric fields.
enableLayerSelectionproperties were removed and replaced with
The following list details some of the new functionality added to the Directions widget:
CartographicLineSymboland maneuver arrows are directional and include useful tooltip content.
searchOptionscan participate in reverse geocode operations. This allows webmaps containing searchable operational layers to participate in reverse geocode operations when new stops are digitized.
The API now comes with a new theme - Calcite. To use it, just add the following CSS to your app:
<link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/themes/calcite/dijit/calcite.css"> <link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/themes/calcite/esri/esri.css">
instead of the regular:
<link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/css/esri.css">
You also need to set the body class to calcite:
This theme is in beta and does not support all components of the API. The following widgets are supported: BasemapGallery, BasemapToggle, Bookmarks, Directions, HomeButton, LayerSwipe, Legend, LocateButton, Measurement, OverviewMap, Popup, Print, ScaleBar, and Search.
The image service layer's attribute table values are now refreshed once a rendering rule is changed.
Esri provides several basemaps in vector tile format. While these basemaps are still in beta, you can now access them easily using the new named basemaps. This set of vector basemaps is available through the Esri Vector Basemaps (Beta) group in ArcGIS Online. The group includes vector basemaps in multiple styles, some that closely resemble existing Esri basemaps (e.g. Streets, Topographic, Light Gray Canvas), and others that are new (e.g. Streets at Night, and Navigation).
This vector tile layer provides a detailed basemap for the world featuring a neutral background style with minimal colors, labels, and features. This layer is similar in content and style to the popular Dark Gray Canvas map, which is delivered as two map services with raster fused map cache.
This vector tile layer provides a detailed basemap for the world featuring a neutral background style with minimal colors, labels, and features. This layer is built using the same data sources used for the Light Gray Canvas and other Esri basemaps. The map includes highways, major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.
This vector tile layer provides a detailed basemap for the world featuring a custom navigation map style.
This vector tile layer provides a detailed basemap for the world featuring a custom "night time" street map style.
This vector tile layer provides a detailed basemap for the world featuring a classic Esri street map style designed for use with a relief map.
This vector tile layer provides a detailed basemap for the world featuring a classic Esri street map style.
This vector tile layer provides a detailed basemap for the world featuring a classic Esri topographic map style designed for use with a relief map.
segmentLengthproperty of the 'measure' event.
For version 3.16, the
smartMapping.createPredominanceRenderer() only supports working with hosted feature services. Other services that support standardized SQL will be supported in a future release.
In addition to the samples referenced above for the improved
FeatureTable, additional samples were created for 3.16. These are:
showSelectAnalysisLayerproperty default value is now
WebTiledLayernow supports 24 LODs.