Arcade expressions now support geometry operations that allow you to perform overlay, proximity, topological relationship testing, and measurement operations. We added the Create a Geofence with Arcade sample to demonstrate how to use some of these functions in a renderer and popup.
Please keep in mind that Arcade expressions execute for each feature. Thus, using multiple geometry operations within the context
of the labeling and visualization profiles can be expensive and severely impact the performance of the application.
Also note that geometries fetched from feature services, especially polylines and polygons, are generalized according to the view's scale resolution.
Be aware that using a feature's geometry (i.e. Geometry($feature)
) as input to this function will yield results only as precise as the
view scale. Therefore, results returned from geometry operations in the visualization and labeling profiles may be different at each scale level.
Use these functions at your discretion within these contexts.
Arcade geometry functions used in popups will always use the feature's full resolution geometry.
SimpleLineSymbol now supports displaying arrow markers on the beginning and/or ending vertices of a polyline.
lineSymbol.setMarker({ style: "arrow", placement: "end" });
Version 3.23 adds support for Slovenian (sl) locale. See Localization topic for more information about using different locales.
The named vector basemaps have been updated to use the new v2 vector tile basemaps from Esri. This affects "dark-gray-vector", gray-vector", "streets-vector", "streets-night-vector", "streets-relief-vector", "streets-navigation-vector" and "topo-vector".
The Bing Maps Aerial with Labels (MAP_STYLE_AERIAL_WITH_LABELS) option in VETiledLayer have been updated to use the latest tile service from Microsoft.
esri/support/expressionUtils
.marker
on class SimpleLineSymbol
.setMarker()
on class SimpleLineSymbol
.Version 3.23 of the ArcGIS API for JavaScript include:
dgrid1
directory, whereas version 0.3.17 should reference the dgrid
directory.
Please refer to the dgrid 0.4 Migration Guide for additional information on migrating to the newer version.
Use the repository on GitHub for the JS API TypeScript definitions.