Directions widget now includes support for barriers
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.
More detailed Bing road data in certain areas
The Bing Maps tiles used in VETiledLayer have been improved. For example, it now includes detailed street data for China.
Support for Hindi locale
Version 3.20 adds support for the Hindi (hi) locale. See Localization topic for more information about using different locales.
API updates and enhancements
- New property
showBarriersButton on class
- New property
backgroundColor on class
- The background color of the Map can be specified in the constructor or changed with setBackgroundColor().
- BasemapGallery widget no longer displays web mapping applications, only web maps.
- Added new showBarriers constructor option and property to the Directions widget.
- New API configuration option, workers.loaderConfig to specify locations of packages to be loaded with the workers or to define feature detections
- BUG-000100470: API Reference documentation now links to samples for RouteTask.
- BUG-000102110: Dijits utilizing swipe functionality now work smoothly using touch events in Chrome.
- BUG-000100656: Legend digit is no longer cached when destroyed.
- BUG-000101296: Select event now fires correctly in the DataBrowser widget.
- BUG-000102090: Fixed an issue where snapping was not working properly in Chrome.
- dgrid versions
- dgrid version 1.1.0 (since version 3.17)
- dgrid version 0.3.17 (since version 3.13)
If working with version 1.1.0, please reference the
directory, whereas version 0.3.17 should reference the
Please refer to the dgrid 0.4 Migration Guide
for additional information on migrating to the newer version.
- Dojo version 1.12.1 (since version 3.20)
- dstore version 1.1.1 (since version 3.16)
- put-selector version 0.3.6 (since version 3.13)
- xstyle version 0.3.2 (updated for version 3.17)
Additional Resources on GitHub
Be certain to check out any updates to the repository
on GitHub with
definitions for the JS API as well as the
jshint options file
used by the JS API team.