Hi all
I’ve tried to set the zoom level in the config using map_zoom, map_zoom_level, etc. and none seem to be working. Is there an easy way to set the level, as my VA only flies in the UK?
Cheers
Hi all
I’ve tried to set the zoom level in the config using map_zoom, map_zoom_level, etc. and none seem to be working. Is there an easy way to set the level, as my VA only flies in the UK?
Cheers
Hi all
I’ve tried to set the zoom level in the config using map_zoom, map_zoom_level, etc. and none seem to be working. Is there an easy way to set the level, as my VA only flies in the UK?
Cheers
Is it an easy way for this?
I think there was a setting in the config to set the default center
I assume you’re talking about the ACARS map - that will automatically center and zoom to fit in your flights, so if it’s all in the UK, I guess it will center down to that level
yes, thats correct Nabel
I have change this settings to fit for my place… but I want to zoom in the map a bit
Ah, the zoom setting is in the Javascript file (acarsmap.js). Search for “17” or “18” (one of those numbers). That should be a setting
Thanks
Hi guys, listen whatever i changed in setting of soom level, allways zoom the same…i mean first sappearance of map when no gflights…can i zoom it to normal level to see all of Croatia for instance?
Thank you
Guys still cant make live map zoom, can someone tell me how, i try in local config, nothing, id has to be 11 that will suite me, i try in acars.js, but there is only if local config hasnt any value…anywhere else maybe?'?
Look in app.config.php and copy the settings from that file into local.config.php
So what will i have, same thing from beginning I manage to adjust map position, its easy, but it should be easy also with map zoom, as the matter i think i managed to change this…and after all night not making nothin , it zoomed put on my map, as i put 5 … so must wait some time…maybe it will be good, i fopund couple of mistakes in files…first i dont know they are mistekes but are different form other inputs…so…
Config::Set(‘MAP_TYPE’, ‘G_HYBRID_MAP’);
Config::Set(‘MAP_LINE_COLOR’, ‘#ff0000’);
Config::Set(‘MAP_CENTER_LAT’, ‘44.582121’);
Config::Set(‘MAP_CENTER_LNG’, ‘16.303711’);
Config::Set(‘MAP_ZOOM_LEVEL’, 10); <----- this should be ‘10’ not only 10 as other above has the ’ ’ also…
in acarsmap.tpl
map_zoom_level = <?php echo Config::Get(‘MAP_ZOOM_LEVEL’); ?>; <----shouldnt there be " "
map_center_lat = “<?php echo Config::Get(‘MAP_CENTER_LAT’); ?>”;
map_center_lng = “<?php echo Config::Get(‘MAP_CENTER_LNG’); ?>”;
map_zoom_level = “<?php echo Config::Get(‘MAP_ZOOM_LEVEL’); ?>”;
map_center_lat = “<?php echo Config::Get(‘MAP_CENTER_LAT’); ?>”;
map_center_lng = “<?php echo Config::Get(‘MAP_CENTER_LNG’); ?>”;
So i change this…and we will see, like i say, i think it must pass some time to change, dont know why, maybe cause of that time or something…
Bye all
there doesn’t need to be a “” because it’s an integer, whether you put a ‘’ in the set or not