laptop and a wrench

Error

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

Última publicación: August 28, 2017 ArcGIS Runtime SDK
Número de ID del error BUG-000106570
EnviadoJuly 14, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada100.1.0
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoKnown Limit

Información adicional

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/

Pasos para reproducir

ID del error: BUG-000106570

Software:

  • ArcGIS Runtime SDK

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga