Use and customize two new looks for the popup by adding either a light
or dark
class to the popup's domNode. Refer to the Popup with a chart sample to see the dark theme with simple customizations.
Popup templates support using fields from tables or layers that are part of a relationship. The new syntax is discussed in the Format popup content topic and we've added a new sample demonstrating how to use related fields in a popup template.
OAuth functionality previously available from a sample module is now included in the API. OAuth support improvements includes:
The measurement widget now exposes a measure
method that takes a geometry to measure. The widget's UI was also modified to better show cursor position in geographic coordinates, uses a new pin icon and the location tool no longer deactivates itself after clicking the map. The area, distance and location icons were also updated.
When using the attribute inspector with a layer with a date field, both date and time are editable.
The label layer is no longer in beta and this release includes several changes:
mode: "dynamic"
when creating a label layer.
${field}
syntax but now use {field}
. In other words, popup template syntax instead of info template syntax.
setInfoTemplates
method on tiled and dynamic map service layers to specify an info template for each sublayer of a service. The Add two dynamic maps sample has been updated to show how to use this method.
usePopupManager
, that tells the API to make a map's popup respect layer and sublayer visibility so that the popup doesn't display information about features that are not visible.
undefined ""
to a browser's console.
Version 3.10 of the ArcGIS API for JavaScript uses Dojo 1.9.1. dgrid was upgraded to version 0.3.14. put-selector version 0.3.5 and xstyle version 0.1.3 are also included.