Hide Table of Contents
Tutorials
About the API
Work with the API
Graphics and feature layers
Popups and Info Windows
Mobile
ArcGIS Server Services
References
What's New archive
The Directions widget now supports working with showBarriersButton to determine optimal routing. This adds a restriction line barrier, which prohibits travel where the barrier intersects the route. The route dynamically changes the directions to avoid the barrier. For example, you may add a line barrier if there is a parade or protest that blocks traffic on your route. If this is the case, the route would automatically get diverted around that barrier.
Measurement widget and Scalebar widget have been updated to support many non-Earth projections, such as for the Moon, Mars, Venus. This allows you to properly measure craters on the moon or plan your next trip to Mars.
The Bing Maps tiles used in VETiledLayer have been improved. For example, it now includes detailed street data for China.
Version 3.20 adds support for the Hindi (hi) locale. See Localization topic for more information about using different locales.
showBarriersButton on class Directions.backgroundColor on class Map.Version 3.20 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.
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.