ThinkGeo.com    |     Documentation    |     Premium Support

TrackOverlay's visibility problem

Hi,


The TrackOverlay layer should be visible at some time but  it is not. This can be re-produced using the sample application "TrackAndEditShapes".


Select "Draw line" button, draw some lines on the  screen, then click on the "Arrow" button which will set the TrackMode to none, then Pan the map, the TrackOverlay layer is not visible any more.


Is this a bug?


Rose



Thanks for your report, Rose.


I think this is a bug in the latest version(3.0.307 RC1), we will fix it in next version.
 
If you want to go around it currently, you can create an CustomTrackInteractiveOverlay as following and use it in the WinformMap:



public class CustomTrackInteractiveOverlay : TrackInteractiveOverlay 
{
 public CustomTrackInteractiveOverlay() : base()
 { }

public override bool IsEmpty 

  get { return false; }
}


winformsMap1.TrackOverlay = new CustomTrackInteractiveOverlay();


Yale