Dot size
-
flc85 -
19. April 2012 um 18:33 -
Erledigt
-
-
HelloI think here $_BO['mapimg'][100]['stations']['point_size'] = 2;
lg,
Wolfgang -
No ,any change on my map
-
The option "point_size" is deprecated! Here is the description for the correct setting: Colors/Markers
In your case, you have to do it like this:
The second value in the array is the size.If you have already assigned a template and only want to change the size, you can do it like this:
If you want to change it for the strikes, you have to do it like this:
-
No result???
PHP
Alles anzeigen// ============================= FRANCE ====================================== $_BO['mapimg'][100] = $_BO['tpl_imgmap']['france']; $_BO['mapimg'][100]['density'] = true; $_BO['mapimg'][100]['density_blocksize'] = 8; $_BO['mapimg'][100]['density_colors'] = $_BO['density_colors']; $_BO['mapimg'][100]['density_darken'] = 40; $_BO['mapimg'][100]['stations']['A']['point'] = array(10, 10, 'f008', 1, 'fff8'); $_BO['mapimg'][100]['stations']['A'] = $_BO['points']['stations_dots_active']; $_BO['mapimg'][100]['stations']['O'] = $_BO['points']['stations_dots_offline']; $_BO['mapimg'][100]['stations']['V'] = $_BO['points']['stations_dots_nogps']; -
That doesn't work. After you assigned your settings in line 8, you are overwriting them in the next line. Simply delete this line.
Let me guess: You want a map of (active) stations for France? --> Very good!

By the way, you can also use strings as map identifiers. So, instead of the number 100, you can also use 'france_stations' (with ' !!!) .
-
I don't know if it's a solution but i have resolved like that,before your message,with a "new map"
PHP
Alles anzeigen$_BO['mapimg'][110] = $_BO['tpl_imgmap']['france']; $_BO['mapimg'][110]['name'] = 'France statut stations'; $_BO['mapimg'][110]['group'] = 'France'; $_BO['mapimg'][110]['density'] = false; $_BO['mapimg'][110]['stations']['A'] = $_BO['points']['stations_dots_active']; $_BO['mapimg'][110]['stations']['I'] = $_BO['points']['stations_dots_inactive']; $_BO['mapimg'][110]['stations']['O'] = $_BO['points']['stations_dots_offline']; $_BO['mapimg'][110]['stations']['V'] = $_BO['points']['stations_dots_nogps']; $_BO['mapimg'][110]['stations']['A']['point'] = array(10, 5, '0f4', 0, '0f4e'); //$_BO['mapimg'][110]['stations']['A']['point'][10] = 5; $_BO['mapimg'][110]['stations']['I']['point'] = array(10, 5, 'c64', 1, 'c64e'); //$_BO['mapimg'][110]['stations']['I']['point'][10] = 5; $_BO['mapimg'][110]['stations']['O']['point'] = array(10, 5, 'c04', 1, 'c04e'); //$_BO['mapimg'][110]['stations']['O']['point'][10] = 5; $_BO['mapimg'][110]['stations']['V']['point'] = array(10, 5, '04f', 1, '04fe'); //$_BO['mapimg'][110]['stations']['V']['point'][10] = 5; $_BO['mapimg'][110]['header'] = ' Carte avec affichage de l\'état des stations'; -
I'm not 100% sure, but I think you do not need lines 5 to 8.
-
Doesn't work if i delete lines 5 to 8
Congratulations on your written french

-
Strange. This works perfectly:
PHP$_BO['mapimg'][110] = $_BO['tpl_imgmap']['france']; $_BO['mapimg'][110]['name'] = 'France statut stations'; $_BO['mapimg'][110]['group'] = 'France'; $_BO['mapimg'][110]['density'] = false; $_BO['mapimg'][110]['stations']['A']['point'] = array(10, 5, '0f4', 1, '0f4e'); $_BO['mapimg'][110]['stations']['O']['point'] = array(10, 5, 'c04', 1, 'c04e'); $_BO['mapimg'][110]['stations']['V']['point'] = array(10, 5, '04f', 1, '04fe'); $_BO['mapimg'][110]['header'] = ' Carte avec affichage de l\'état des stations'; -
You have right,works now??????

Sorry
-
EDIT: RESOLVED
Please can you tell me if you have a function to not display strikes or what's the solution
I want to do just a map with station in Europe
-
You can always hide strikes when adding "&blank" to the image url.
Second option: I uploaded a new version, where you can set it in the config:
You can also change the text, instead of "Strikes: 123" in the top right corner:
-
Thanks Tobias,and for my other problem with sat map it's resolved