laptop and a wrench

Bogue

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

Dernière publication: August 28, 2017 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000106570
EnvoiJuly 14, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.1.0
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutKnown Limit

Informations supplémentaires

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/

Étapes pour reproduire

ID de bogue: BUG-000106570

Logiciel:

  • ArcGIS Runtime SDK

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement