What i must to put in the config.php to add somes maps with the 0.7 version ?
Add map
-
flc85 -
31. August 2011 um 15:17 -
Erledigt
-
-
You can use the same variables as before. The new variables are for cities, nicer colors, etc... I will add them to the documentation the next days (I hope so).
-
What's the size for map?
I have put this lines in the config.php (i have the same lines for the France map)PHP$_BO['mapimg'][200] = $_BO['tpl_imgmap']['FLC']; $_BO['tpl_imgmap'][200] = $_BO['tpl_imgmap_default']; $_BO['tpl_imgmap'][200]['menu'] = true; $_BO['tpl_imgmap'][200]['archive'] = false; $_BO['tpl_imgmap'][200]['name'] = 'FLC'; $_BO['tpl_imgmap'][200]['file'] = 'flc.png'; $_BO['tpl_imgmap'][200]['coord'] = array(46.56,-0.62,46.35,-0.97); //North, East, South, West (Degrees) $_BO['tpl_imgmap'][200]['trange'] = 2; //hours! $_BO['tpl_imgmap'][200]['upd_intv'] = 5; //minutes
and the flc.png in the images directory but i can the the new map. -
First line doesn't make any sense. Second is good, it assigns some default values to the map. The other lines will never be analyzed by MyBlitzortung, because the names begin with "tpl_".
This should work:
PHP$_BO['imgmap'][200] = $_BO['tpl_imgmap_default'];$_BO['imgmap'][200]['menu'] = true;$_BO['imgmap'][200]['archive'] = false;$_BO['imgmap'][200]['name'] = 'FLC';$_BO['imgmap'][200]['file'] = 'flc.png';$_BO['imgmap'][200]['coord'] = array(46.56,-0.62,46.35,-0.97); //North, East, South, West (Degrees)$_BO['imgmap'][200]['trange'] = 2; //hours!$_BO['imgmap'][200]['upd_intv'] = 5; //minutesTo make it clear: Only I can insert templates ("tpl"), because I have to define them in the source code. You can assign a template to a own map, so you don't have to write all of the variables again and again. The "tpl" variables will never be analyzed by MyBlitzortung, otherwise they wouldn't be templates
. So everything in the form of $_BO['tpl...'] = ...; in the config.php doesn't make sense.As an example, this single line is enough to add the France map (same with Germany, Switzerland, Austria, Bavaria, ....) :
-
ok and about the size map?
-
What do you mean with "size"?

-
for the pixel 690x690 or it's not important
-
Now I got it. No, the size doesn't matter.