java.lang.Object
com.esri.arcgisruntime.symbology.Renderer
com.esri.arcgisruntime.symbology.HeatmapRenderer
- All Implemented Interfaces:
JsonSerializable
Uses the points in a layer to calculate and display the relative density of points on a map. A heat map is displayed as smoothly varying sets of colors ranging from cool (low density of points) to hot (high density of points).
Currently, the HeatmapRenderer has no members. However, ArcGISMap will use HeatmapRenderer to display a heat map if one is defined in a web map.
An ArcGISMap with a heat map from an ArcGIS Online URL:
final ArcGISMap map = new ArcGISMap("http://www.arcgis.com/home/item.html?id=" + webMapId); // check that ArcGISMap contains a HeatmapRenderer map.addDoneLoadingListener(() -> { for (Layer layer : map.getOperationalLayers()) { if (renderer instanceof HeatmapRenderer) { // map contains a heat map layer rendered with HeatmapRenderer FeatureLayer featureLayer = (FeatureLayer) layer; Renderer renderer = featureLayer.getRenderer(); } } });
- Since:
- 100.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.arcgisruntime.symbology.Renderer
Renderer.SceneProperties
-
Method Summary
Methods inherited from class com.esri.arcgisruntime.symbology.Renderer
fromJson, getRotationExpression, getRotationType, getSceneProperties, getSymbol, getSymbol, getSymbol, getSymbol, getSymbol, getSymbol, getUnknownJson, getUnsupportedJson, setRotationExpression, setRotationType, toJson