Does anyone know how to toggle the visibility of the tracklog from within a script? When my application starts, it asks the user if they want to enable the GPS. If the response is yes, it issues the commands:
[INDENT]application.executecommand("gpsenable")
application.executecommand("gpstracklog")[/INDENT]
By default, when the GPS tracklog is started, it is made visible. I'd rather have it collected in the background, but cannot figure out how to reference the tracklog layer to set its visibility to false. I've tried a variety of permutations of the following statement, none of which work:
[INDENT]Set objTrackLogLayer = Map.Layers("Tracklog.shp")
objTrackLogLayer.visible = "False"[/INDENT]
Thanks in advance,
D. Burn
Anchorage, AK