Configuration: Dynamic map and overlays

Note: Below, you have to replace the x by the corresponding map number.

Dynamic Map

  • $_BO['mapcfg'][x]['tstart'] = 120;Maximum age of strikes in minutes (here 120 minutes = 2 hours, so display strikes up to 2 hours back)
  • $_BO['mapcfg'][x]['trange'] = 105;Time range in minutes, which is subtracted from the max age (the result will be the minimum strike age). In the example that means 105 Minuten, therefore only strikes will be displayed with an age ofminutescksichtigt (because 120 – 105 = 15)
  • $_BO['mapcfg'][x]['upd_intv'] = 15;Update interval: The images will be regenerated just every 15 minutes, otherwise they come from the cache
  • $_BO['mapcfg'][x]['default_show'] = true;The time range is checked by default.
  • $_BO['mapcfg'][x]['sel_name'] = '15-120 min';Name next to the checkbox. Texts 'min’ and 'h’ will be translated into other languages.
  • $_BO['mapcfg'][x]['col'][] = array(250, 190, 0);
    $_BO['mapcfg'][x]['col'][] = array(245, 170, 10); ...
    Colors, which are evenly divided on the time range. The values stand ??for red, green, blue respectively in the range of 0 to 255. As much colors as you want can be specified.. You will be then equally divided on the time range.

  • $_BO['mapcfg'][x]['only_loggedin'] = true;If this is set to true, this time range is only visible to authorized users.

Overlays

  • $_BO['mapovl'][x]['img'] = '/url/to/image';URL to the image file
  • $_BO['mapovl'][x]['coord'] = array(49.452, 10.8985, 49.3759, 10.77);Coordinates (North, East, South, West)
  • $_BO['mapovl'][x]['default_show'] = false;Enable it by default
  • $_BO['mapovl'][x]['sel_name'] = 'My Overlay';Name next to the checkbox
  • $_BO['mapovl'][x]['only_loggedin'] = true;Visible only for registered users
  • $_BO['mapovl'][x]['to_mercator'] = true;Convert to Mercator projection
  • $_BO['mapovl'][x]['opacity'] = 80;Transparency with values 0 to 100 (100 = none). Only works if ‘to_mercator’ is true