ThinkGeo.com    |     Documentation    |     Premium Support

HeatMap not render properly

Hi,
I am facing rendering issue while loading Heap Map layer.

Code:
EarthquakeHeatFeatureLayer heatLayer = new EarthquakeHeatFeatureLayer(imIcingLayer.FeatureSource);
heatLayer.FeatureSource.Projection = _proj;
HeatStyle hs = new HeatStyle(10, 200, “IP_Max”, 0.3, 0.8, 200, DistanceUnit.Kilometer);
hs = SetIcingHeatStyleColorPalete(hs);// applying colors
heatLayer.HeatStyle = hs;
heatLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;

EarthquakeHeatFeatureLayer.cs (1.3 KB)

But same functionality working fine in Desktop Edition. I mean it’s rendering fully in Desktop Edition.

Please tell me what actually the issue, how we can overcome this.

Thanks,
Riyaz

Hi Riyaz,

Thanks to let us to know that.

I tried to create a sample for you, but it looks we don’t know what’s the “imIcingLayer” is here, and whether the SetIcingHeatStyleColorPalete function is important. And please set the Map1.CurrentExtent equal a static value so we can reproduce it.

I guess that’s maybe related with your custom code, because it looks like some tiles missed, so please complete this sample. 9064.zip (10.6 KB)

Regards,

Ethan