mw308 Posted April 16, 2009 Report Share Posted April 16, 2009 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 Quote Link to comment Share on other sites More sharing options...
goran298 Posted July 23, 2009 Report Share Posted July 23, 2009 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 23, 2009 Administrators Report Share Posted July 23, 2009 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 Quote Link to comment Share on other sites More sharing options...
goran298 Posted July 24, 2009 Report Share Posted July 24, 2009 yes, thats correct Nabel I have change this settings to fit for my place... but I want to zoom in the map a bit Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 24, 2009 Administrators Report Share Posted July 24, 2009 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 Quote Link to comment Share on other sites More sharing options...
goran298 Posted July 24, 2009 Report Share Posted July 24, 2009 Thanks Quote Link to comment Share on other sites More sharing options...
shiljo Posted January 10, 2010 Report Share Posted January 10, 2010 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 Quote Link to comment Share on other sites More sharing options...
shiljo Posted January 13, 2010 Report Share Posted January 13, 2010 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?'? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 13, 2010 Administrators Report Share Posted January 13, 2010 Look in app.config.php and copy the settings from that file into local.config.php Quote Link to comment Share on other sites More sharing options...
shiljo Posted January 14, 2010 Report Share Posted January 14, 2010 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 14, 2010 Administrators Report Share Posted January 14, 2010 there doesn't need to be a "" because it's an integer, whether you put a '' in the set or not Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.