MapDetails
Control the type and resolution of details displayed in the 2D Graphics window
Syntax
MapDetails <ScenarioPath> {DetailOption} <Parameters>
Description
The MapDetails command enables you to select the type and resolution of details displayed in the 2D Graphics window. STK is shipped with the Relational World Data Bank II (RWDBII) maps. RWDBII maps, originally used by the CIA, are publicly available maps known for their accuracy.
{DetailOption} and <Parameters> can be:
{DetailOption} | <Parameters> | Description |
---|---|---|
Items | <ItemName> {On | Off} [{Color}] [<WinNumber>] | <ItemName> is the name of the map item to be set. Available items will depend on the map being displayed in the 2D Graphics window. For more information, refer to the STK help topic for 2D Graphics Details.
<ItemName> is case-sensitive. If you set <ItemName> to On, you must also specify {Color}. |
LatLon | Lat {On | Off} [<SpacingValue> {Color} {Linestyle}] [<WinNumber>] | Define the display of latitude lines in the 2D Graphics window. <SpacingValue> defines the distance between latitude lines using a number between 0.001 - 90.0 entered in degrees. For all valid {Color} and {Linestyle} options, see Common Options.
If Lat is Off, no additional parameters should be set. |
Lon {On | Off} [<SpacingValue>] [<WinNumber>] | This option enables you to change the spacing between longitude lines on the 2D map.
If you enter Off, then the spacing value is inherited from the specification for latitude lines. If you enter On, then you must enter the <SpacingValue> parameter to change the longitudinal spacing. <SpacingValue> defines the distance between longitude lines using a number between 0.001 - 90.0 entered in degrees. You can only set the spacing value for Longitude lines if you turn on LatLon lines using the MapDetails LatLon Lat On command. | |
Background | Image "<FilePath>" [<WinNumber>] | Display the selected image as the background in the 2D Graphics window. |
Image None [<WinNumber>] | Display no background image. | |
Color {Color} [<WinNumber>] | Select the background color in the 2D Graphics window. | |
Clouds | On [<WinNumber>] | This tells STK to overlay images of clouds on the 2D Graphics window. |
Off [<WinNumber>] | No clouds appear in the 2D Graphics window. | |
Toggle [<WinNumber>] | If state is Off, STK will switch it to On. If On, STK will switch it to Off. | |
File "<FilePath>" [<WinNumber>] | Specify the path to the cloud image file using the "<FilePath>" parameter.
"<FilePath>" is the path to a file on your local drive. | |
URI "<UriPath>" [<WinNumber>] | Specify the uri file path to set a cloud file index. | |
Map | {GeographicFeature} [State {On | Off}] [Color {Color}] [WindowID <WinNumber>] | Display map details for the 2D Graphics window. Valid values for {GeographicFeature} are: RWDB2_Coastlines, RWDB2_International_Borders, RWDB2_Islands, RWDB2_Lakes, RWDB2_Provincial_Borders, and RWDB2_Rivers. You must specify at least one or both of State and Color. |
For valid {Color} options, see Common Options.
Examples
To set a specific Longitude spacing first send the command to turn on the latitude lines:
Then send the command:
To display dashed latitude and longitude lines in red that are 50 degrees apart in 2D Graphics window 2:
To display a picture in the background:
To display clouds from an external image file in the 2D Graphics window:
To display the RWDB2_Coastlines details in window 1, in red:
To display clouds from an external image file:
Return message
Group membership
This command belongs to the following group(s):