Set background image options for the 2D Graphics window.
Graphics <ScenarioPath> BackgroundImage {Options}
The following table describes the options for setting the background image in a 2d Graphics window.
{Options} | Description |
---|---|
Show {On | Off} | Specify whether or not to show the background image. |
UseBingMaps {On | Off} | If On then the Bing™ Maps will be shown for the background image. If Off then the image file will be displayed. |
BingMapsType {Aerial | Road | Hybrid | HillShade} | Specify the type of map to use if UseBingMaps is on. |
BingMapsServer "<ServerName>" | Specify the Bing Maps server to use. |
ImageFile "<Filepath>" | Specify a background image file. The image file will be shown if UseBingMaps is off. |
WindowId <WinNumber> | Specify the 2d Graphics window where the background is being set. The default is the first 2D Graphics window. |
To show Bing Road Map on the 2D Graphics window:
Graphics * BackgroundImage UseBingMaps On BingMapsType Road
To show a background image, and set an image file for 2D Graphics window 2:
Graphics * BackgroundImage Show On ImageFile "Basic.bmp" WIndowID 2
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
10
STK Programming Interface 11.0.1