Jump to content

Recommended Posts

Posted

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

  • 3 months later...
Posted

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?

  • Administrators
Posted

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

  • Administrators
Posted

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

  • 5 months later...
Posted

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

Posted

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?'?

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...