ThinkGeo.com    |     Documentation    |     Premium Support

Wrapping not working for Heat map

Hi…

I am using latest version of Thinkgeo Web edition that is 10.3.1.

I am applying wrapping for all the layers in my project. Earlier RasterImage Layer and Heat map layer were not wrapping , but in this latest version RasterImage Layer wrapping is working fine. Thanks for it.

But Heat map layer still not wrapping, please resolve this issue… Here is my sample code and snapshot…

EarthquakeHeatFeatureLayer heatLayer = new EarthquakeHeatFeatureLayer(imCBLayer.FeatureSource);
heatLayer.FeatureSource.Projection = _proj;
heatLayer.WrappingMode = WrappingMode.WrapDateline;
heatLayer.WrappingExtent = _proj.ConvertToExternalProjection(_rectShape_WrapExtent);
HeatStyle hs = new HeatStyle(10, 200, “Top_FL”, Convert.ToDouble(dt.Rows[0][“Top_FL”].ToString()), Convert.ToDouble(dt.Rows[dt.Rows.Count - 1][“Top_FL”].ToString()), _dCbRadius, DistanceUnit.Kilometer);
hs = SetCBHeatStyleColorPalete(hs);
heatLayer.HeatStyle = hs;
heatLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
LayerOverlay CBTopsHeatOverlay = (LayerOverlay)wfMap.CustomOverlays[“CB Tops Heat”];
if (CBTopsHeatOverlay.Layers.Count > 0)
CBTopsHeatOverlay.Layers.Clear();
CBTopsHeatOverlay.Layers.Add(“CBTopsHeatLayer”, heatLayer);
CBTopsHeatOverlay.Layers.Add(“CBTopsLayer”, imCBLayer);

Here EarthquakeHeatFeatureLayer is nothing but HeatLayer…

Please observe that Heat map is coming only in Main area and not coming in Wrapping… Please resolve this…

Thanks,
Ashok

Hi Ashok,

The heat layer don’t support Wrap-dateline mode by design. Maybe we will implement it in future version but we don’t have a plan to implement it soon after latest release.

If it’s hurry for you, please contact your sales about professional service.

Regards,

Ethan