laptop and a wrench

Bug

The HeatmapRenderer class is missing from the ArcGIS Runtime SDK for .Net.

Last Published: August 28, 2017 ArcGIS Runtime SDK
Bug ID Number BUG-000106570
SubmittedJuly 14, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.1.0
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

In ArcGIS Runtime SDK for .NET v100.1 there is no public HeatmapRenderer class. This functionality will be made available in the API in a future release. Heatmap renderers can be created in v100.1 using Renderer.FromJson(). They are also supported when opening webmaps. Example: ``` string heatmapJson = "{\"blurRadius\":10,\"colorStops\":[{\"color\":[133,193,200,0],\"ratio\":0},{\"color\":[133,193,200,0],\"ratio\":0.01},{\"color\":[133,193,200,255],\"ratio\":0.01},{\"color\":[133,193,200,255],\"ratio\":0.01},{\"color\":[144,161,190,255],\"ratio\":0.0925},{\"color\":[156,129,132,255],\"ratio\":0.17500000000000002},{\"color\":[167,97,170,255],\"ratio\":0.2575},{\"color\":[175,73,128,255],\"ratio\":0.34},{\"color\":[184,48,85,255],\"ratio\":0.42250000000000004},{\"color\":[192,24,42,255],\"ratio\":0.505},{\"color\":[200,0,0,255],\"ratio\":0.5875},{\"color\":[211,51,0,255],\"ratio\":0.67},{\"color\":[222,102,0,255],\"ratio\":0.7525000000000001},{\"color\":[233,153,0,255],\"ratio\":0.8350000000000001},{\"color\":[244,204,0,255],\"ratio\":0.9175000000000001},{\"color\":[255,255,0,255],\"ratio\":1}],\"maxPixelIntensity\":1249.2897582229123,\"minPixelIntensity\":0,\"type\":\"heatmap\"}"; FeatureLayer featureLayer = new FeatureLayer(new Uri("http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0")); featureLayer.Renderer = Renderer.FromJson(heatmapJson); Map.OperationalLayers.Add(featureLayer); ``` HeatmapRenderer Json spec: https://developers.arcgis.com/web-map-specification/objects/heatmapRenderer/

Steps to Reproduce

Bug ID: BUG-000106570

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options