DIAdem Help

Object: Map

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

Object: Map

The Map object provides access to a map display in DIAdem VIEW. Use the Map object to specify the properties of the map view and the channels to be synchronized with the view.

The following example creates a map display.

VBScriptPython

 

Dim oMySheet, oMyObj
Call Data.Root.Clear()
Call DataFileLoad(ProgramDrv & "Examples\Data\VIEW_MapDisplay.tdm")
Call View.Sheets.RemoveAll()
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "Map"
Set oMyObj = oMySheet.ActiveArea.DisplayObj
oMyObj.MapType = "OSM Mapnik"
oMyObj.ZoomLevel = 14
oMyObj.SynchronisationChannelName = "[1]/TimeStamp"
oMyObj.LongitudeChannelName = "[1]/Longitude"
oMyObj.LatitudeChannelName = "[1]/Latitude"

Methods

isBusy | ShowMapDlg

Returned From

Area.DisplayObj