Both the dynamic map as well as the static image maps can be customized. This is done by variables and not constants. Thus, the number of entries is not limited.
The main variable is $_BO. There are several subgroups (a so-called array):
In each group, any number of other entries can be made. Here is an example of $_BO['mapcfg'] :
The numbers do not necessarily follow each other directly. Their primary usage is, to identify and sort the entries. As an example, the numbers -1 or 100 would also be possible.
All the following configuration options here have to be added in the file config.php!
Here an example for an additional time range in the dynamic map:
...
$_BO['mapcfg'][3]['upd_intv'] = 60;
$_BO['mapcfg'][3]['sel_name'] = '120-240 min';
...
This is only an excerpt, there are more options needed (see below).
The default settings are stored as templates. These are already existing settings. All predefined templates are stored in the file includes/templates.inc.php . Please DO NOT edit this file - put all your individual settings into config.php.
For example, in the static maps the following templates are preset by default:
$_BO['mapimg'][0] = $_BO['tpl_imgmap']['europe'];
$_BO['mapimg'][1] = $_BO['tpl_imgmap']['germany_mini'];
$_BO['mapimg'][2] = $_BO['tpl_imgmap']['germany_lkr'];
$_BO['mapimg'][3] = $_BO['tpl_imgmap']['europe_mini'];
Map 0 gets the default values for the map of Europe, map number 1 gets those for the Germany mini-map, number 2 the big Germany map and number 3 the small map of Europe.
Example 1:
In the future, new templates can be built in by the developers, which can simply be added with the following line:
$_BO['mapimg'][3] = $_BO['tpl_imgmap']['austria'];
Example 2:
The following template for a time range of 1 to 10 days for the dynamic map is already available and can be activated with the following line (it is only visible for users):
$_BO['mapcfg'][3] = $_BO['tpl_gmap']['1-10d'];
Example 3:
To disable specific settings, this should be done as follows.
$_BO['mapimg'][2] = array();
Thus, map 2 gets an empty array assigned. So the large map of Germany will no longer visible.
Incorrect entries in the config.php can cause, that the whole script does not work anymore.
For testing the new settings, you should turn off caching. Otherwise, the cached images would be delivered. Turning off is done by:
define("BO_CACHE_DISABLE", true);
After that, the map needs to be updated with the reload button or F5 in the browser.