Cloud Track

Plugin Introduction:

This sample is used to track clouds at the interval of 1 second.

Control/Object/Interface:

Control/Object/Interface Properties Methods
Plugin   Initialize(), ExitInstance()
CtrlAction FormClass Run()
IFormScene SceneControl  
scene Layers Fly()
Camera Altitude, AltitudeMode, Latitude, Longitude  
Layer3Ds   Add()
Layer3D Features  
Application ActiveApplication, Output  

Steps:

  1. Open CloudTrack.sln in the SuperMap iDesktop 8C\SampleCode\CloudTrack folder with Microsoft Visual Studio 2008 and compile it.
  2. When succeeded, you can find two files generated: SuperMap.Desktop.CloudTrack.dll located in the SuperMap iDesktop 8C\Bin\Plugins\CloudTrack folder and SuperMap.Desktop.CloudTrack.config located in the SuperMap iDesktop 8C\WorkEnvironment\Default folder.
  3. Copy the SampleIcons folder from the SuperMap iDesktop 8C\SampleCode folder to SuperMap iDesktop 8C\SampleCode\Resources.
  4. Start SuperMap iDesktop 8C.
  5. Create a new scene. You will see the Cloud Track tab with the Display group, Start and Pause buttons.
  6. Click the Cloud Track tab. In the Display group, click the Start button to display the Add KML File dialog box, navigate to tendayclouds.kml in the SuperMap iDesktop 8C\SampleData\SampleCodeUsed\GlobalCloudsData folder, highlight it and click Open to add the cloud data to the scene and start the cloud track.
  7. In the display group, click Pause to stop the cloud track temporarily and Start to track again.
  8. After the completion of a circle, you will be asked whether you want to start another circle. Click Yes to start and No to exit.

Data:

SuperMap iDesktop 8C\SampleData\\SampleCodeUsed\GlobalCloudsData\tendayclouds.kml.

Note:

When you successfully compile CloudTrack.sln, SuperMap.Desktop.CloudTrack.dll and SuperMap.Desktop.CloudTrack.config will be generated and copied to SuperMap iDesktop 8C\Bin\Plugins\CloudTrack and SuperMap iDesktop 8C\WorkEnvironment\Default respectively. Each time you start SuperMap iDesktop 8C, the CloudTrack plugin will be loaded.

If you want to remove the CloudTrack plugin from SuperMap iDesktop 8C, you only need to delete SuperMap.Desktop.CloudTrack.config in the SuperMap iDesktop 8C\WorkEnvironment\Default folder.