The FeatureTable
class had a significant overhaul in this release. The following details some of these major updates:
editable
property to true
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.
outFields
property. Each column's menu now contains options for calculating simple statistics on numeric fields.
gridOptions
object property.
enableLayerClick
and enableLayerSelection
properties were removed and replaced with syncSelection
.
row-deselect
row-select
refresh
The following list details some of the new functionality added to the Directions widget:
CartographicLineSymbol
and maneuver arrows are directional and include useful tooltip content.
travelModesServiceUrl
utility service.searchOptions
can 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:
<body class="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).
dark-gray-vector 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. |
|
gray-vector 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. |
|
streets-navigation-vector This vector tile layer provides a detailed basemap for the world featuring a custom navigation map style. |
|
streets-night-vector This vector tile layer provides a detailed basemap for the world featuring a custom "night time" street map style. |
|
streets-relief-vector 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. |
|
streets-vector This vector tile layer provides a detailed basemap for the world featuring a classic Esri street map style. |
|
topo-vector 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. |
segmentLength
property 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:
esri/dijit/analysis
widgets' showSelectAnalysisLayer
property default value is now true
.
ChooseBestFacilities
showSocialLogins
on class OAuthInfo
dark-gray-vector
, gray-vector
, streets-navigation-vector
, streets-night-vector
, streets-relief-vector
, streets-vector
, topo-vector
on object esri/basemaps
editable
, fieldInfos
, gridOptions
, menuFunctions
, selectedRowIds
, selectedRows
, showDataTypes
, showGridHeader
, syncSelection
, zoomToSelection
on class FeatureTable
variables
on class DataBrowser
.on("column-resize")
, .on("column-state-change")
, .on("data-change")
, .on("editor-hide")
, .on("editor-show")
, .on("edits-complete")
, .on("error")
, .on("filter")
, .on("show-statistics")
, .on("sort")
on class FeatureTable
locate()
on class ObliqueViewer
getSpatialStatistics()
on class FeatureLayerStatistics
getSuggestedField()
on object esri/renderers/smartMapping
WebTiledLayer
now supports 24 LODs.Be certain to check out any updates to the repository on GitHub with TypeScript definitions for the JS API as well as the jshint options file used by the JS API team.
Version 3.16 of the ArcGIS API for JavaScript includes: