Jump to content

Acars Map Zoom Level


mw308

Recommended Posts

  • 3 months later...
  • Administrators

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

Link to comment
Share on other sites

  • 5 months later...

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

Link to comment
Share on other sites

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...