Table 3.1. The properties for general settings
Property name | Value type | Default value | Description |
---|---|---|---|
Setting.AllowNetwork
|
boolean
|
true
| Determines whether tiles may be retrieved from the internet. |
Setting.Center.Latitude
|
double
|
0.0
| Specifies the initial center coordinate latitude after loading. |
Setting.Center.Longitude
|
double
|
0.0
| Specifies the initial center coordinate longitude after loading. |
Setting.Scale
|
integer
|
0
| Specifies the initial scale after loading. Note that this will be limited to lie within the scale boundaries of the active provider. |
Setting.Zoom
|
integer
|
0
| Specifies the initial zoom level after loading. Note that this will be limited to lie within the zoom boundaries of the active provider. |
Table 3.2. The properties for the scale information overlays
Property name | Value type | Default value | Description |
---|---|---|---|
Setting.ScaleInfo.Background
|
color
|
lightGray
| Determines the background color of the scale info overlays. |
Setting.ScaleInfo.FontColor
|
color
|
black
| Determines the font color of the scale info overlays. This is used for the scale and distance estimation texts as well as for the distance length marker lines. |
Setting.ScaleInfo.FontName
|
string
|
Dialog-PLAIN-12
| Determines the font name of the scale info overlays. |
Setting.ScaleInfo.Visible
|
boolean
|
false
| Determines whether the scale info overlays are visible. |
Table 3.3. The properties for the tile grid display
Property name | Value type | Default value | Description |
---|---|---|---|
Setting.TileGrid.Color
|
color
|
black
| Determines the color of the tile grid lines. |
Setting.TileGrid.FontColor
|
color
|
black
| Determines the font color of the tile grid coordinates. |
Setting.TileGrid.FontName
|
string
|
Dialog-BOLD-18
| Determines the font name of the tile grid coordinates. |
Setting.TileGrid.FontShadow
|
color
|
lightGray
| Determines the font shadow color of the tile grid coordinates. This should be a color that has a good contrast in respect to the font color in order to ensure that the coordinates are legible on all kinds of backgrounds. |
Setting.TileGrid.Visible
|
boolean
|
false
| Determines whether the tile grid lines and coordinates are visible. |
Note that the color property values can be given in a number of different styles:
Some English names like "black", "red" and so forth
Three comma separated integer values for red, green and blue, e.g. decimal "51,102,153" or in hex "0x33,0x66,0x99"
Font name property values are to be given in the following form:
The name of the font, e.g. "Arial", "Courier", "Serif", "Dialog", etc.
A single dash: "-"
One of the strings "PLAIN", "BOLD", "ITALIC", "BOLDITALIC"
A single dash: "-"
The font size as an integer, e.g. "12", "28"
java.awt.Font.decode()
method documentation),
but can quickly lead to undesired results if not adhered to.