DIAdem Help

Method: isBusy for Map

  • Updated2024-09-12
  • 2 minute(s) read

Method: isBusy for Map

Checks whether the map display is complete or whether map tiles or the track are being drawn.

bisBusy = Object.isBusy()
ObjectMap
Object with this method
bisBusyBoolean

The following example creates a map display and specifies the channels with the synchronization track, the latitude and longitude, and with a highlighted track. When the display is complete, DIAdem prints the worksheet:

VBScriptPython

 

View.ActiveSheet.ActiveArea.DisplayObjType = "Map"
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj
oMyObj.MapType = "OSM Mapnik"
oMyObj.ZoomLevel = 14
oMyObj.SynchronisationChannelName = "[1]/TimeStamp"
oMyObj.LongitudeChannelName = "[1]/Longitude"
oMyObj.LatitudeChannelName = "[1]/Latitude"
oMyObj.ColorChannelName = "[1]/Distance"
oMyObj.ShowTrack = True
Do While oMyObj.isBusy
 Call Pause(0.1)
Loop
Call View.ActiveSheet.Print