|
|
|
|
Default Map Backgrounds | YES | YES | |
Map Background Colors | YES | YES | |
Map Background Line Widths | YES | YES | |
Map Background Line Pattern | YES | YES | |
Map Label Offsets | YES | YES | |
Map Background Labels | YES | YES | |
Map Background Font Offset | YES | YES | The entry Map_font defines the base font to be used on all map backgrounds. |
The default map background list can contain zero or more map names. Refer to Maps.py in the server configuration file section for the possible set of map names, or use the GFE to display the list of available maps and choose names from the list.
The following variable will load the initial loaded set of map
backgrounds.
The name of the
background should match the list of available maps defined in Maps.py
in the server configuration files.
MapBackgrounds_default = ['CWA','States']
The following variable defines the available colors for the map
backgrounds
that appears
in the color list popup button 3 over a map legend.
MapBackgrounds_availColors = ['gray60', 'yellow', 'white']
Default Map Background colors can be set by map name. If you want a specific map background, such as States, to be a certain color, then this can be defined in the configuration file. You can always change the map background color to something else during the GFE session. If not specified, the assigned default color for the map background will be the first entry in MapBackgrounds_availColors.
The user may specify a specific color to be used for a map background, rather than getting a random color assigned. Format is mapName_graphicColor = color. The color does not need to be in the MapBackgrounds_availColors list.
States_graphicColor = 'green'
Default line widths can be set for each map background based on map name. Zero is the default value, which represents thin lines. The larger the number, the wider the line. The format is mapName_lineWidth. Do not include a decimal point after these entries.
States_lineWidth = 1
Default line patterns can be set up for each map background. The possible strings are "SOLID", "DASHED", "DOTTED", "DASHED_DOTTED". The values must be enclosed within quotes. The format is mapName_linePattern.
States_linePattern = "SOLID"
MapLabelXOffset and MapLabelYOffset are the number of pixels you wish to move map city labels relative to their "normal" position (Default is (0,0)).
MapLabelXOffset = 0
MapLabelXOffset = 0
Labels may be placed on any map background. The choice of labels is limited to the shapefile attributes that are present for the particular map background. For example, the States map background has the following attributes in its shapefile: STATE, FIPS, LON, NAME, recnum, LAT, FE_ZONE. The format of specifying a default label attribute for the map background is mapName_labelAttribute = attributeName.
Cities_labelAttribute = "NAME"
The font offset (called magnification on the GFE menus) allows the default font size to be increased or decreased on a per-map basis. NNumbers can range from -2 through +2. Format is mapName_fontOffset. Do not include a decimal point after these entries.The definition of TextFont*, which defines the standard fonts used in the GFE. The optional definition of display type fonts, which defines which of the standard fonts should be used for this particular type of display (e.g., Map_font). The optional font offset, which adds or subtracts an offset size from the calculations derived in the first two steps.
States_fontOffset = 0