Better vector maps with new rendering functionality
Easily create powerful visualizations with new and enhanced renderers for Feature Layers. More information is available in the Better Vector Mapping help topic.
- Rotation: Attribute driven rotation on point Feature Layers.
- Symbol Scaling: Scale the size of the symbol based on the attribute data. The symbols can be sized according to real world distances, sized exactly proportional with the data, or proportionally mapped to a discrete range of symbol sizes.
- Dot Density Renderer: Easily create dot density visualizations. A dot density renderer can be used to visualize variation in spatial density of discrete geographical phenomenon. Dot density renderers are a beta feature at this release and the API for them is subject to change at a future release.
- Scale Dependent Renderer: Define a set of renderers to use depending on a map’s scale or zoom level for a given Feature Layer.
New map widgets to simplify common tasks
Four new map widgets to streamline adding common functionality to your applications. They are:
- Basemap toggle: switch between two basemaps from ArcGIS.com (default) or customize to use your own basemaps.
- Home button: simple button under the map’s zoom controls to return to the map’s initial view.
- Locate button: use the browser’s geolocation capability to zoom to the location of a user.
- Swipe: add a draggable control to quickly compare various map layers.
General map enhancements
Several small enhancements were made to the map control to improve user experience.
- At max zoom level, the “+” button is grayed out to indicate it is not possible to zoom in further
- At min zoom level, the “–” button is grayed out to indicate it is not possible to zoom out further
- When the slider is horizontal, “–” now appears on the left
- Both “+” and “–” have a :hover state to indicate they are click-able
- Attribution widget now has a semi-transparent background so that attribution info is easier to read
- New map option: optimizePanAnimation. When true, and the map’s view is moved more than twice the width of the current extent (using centerAt or setExtent, for instance), the map will immediately go to that location. This reduces the number of requests sent to tiled services as it only loads tiles that intersect the new view of the map instead of requesting all tiles between the previous view and the new view.
New data-* attributes on SVG-based features
Two new constructor options for GraphicsLayer and FeatureLayer: styling and dataAttributes as well as a new property named surfaceType. The primary purpose of these additions is to easily enable styling of SVG-based vector features using CSS. Refer to the Styling features with CSS topic for more information. Printing is not supported for layers that are styled via CSS.
Beta feature: new esri/layers/LabelLayer module for cilent-side labeling. This functionality is experimental and subject to change in future releases. Refer to the client-side labeling tutorial for more information on how to use the LabelLayer class.
All Layers now have a refreshInterval property
This property can be used to refresh the layer in the map at a particular time interval. This is useful for layers whose data is updated at regularly (current radar imagery or moving vehicles).
Geocoder and Directions widget changes
When using the ArcGIS Online Geocoding Service (the default) with the Geocoder widget, we recommend setting autoComplete to true when creating the widget because the underlying service has improved support for partial queries. Additionally, at this release, the Directions widget’s addStop, addStops, updateStop and updateStops methods do not work when passing a point as the first argument. Passing a string as the first argument to these methods still works. This will be corrected in the next release (3.8).
Stream layer change
New update event that provides access to graphics after they have been updated.