Jump to content

My Routes Map


Tylor Eddy

Recommended Posts

Hello All

I am unsure as to how i can change the size of the google map under 'View a map of all my flights' in the pilot center. I believe that its this file : profile_myroutesmap.tpl that you edit, but its empty, i checked the one currently used by the site and it is also empty, how can i change the size of this map?

Thanks

Link to comment
Share on other sites

  • Moderators

I believe the file you are looking for is called, route_map.tpl, you can shange the size be defining and changing the default code at the top,

Just change from this,

<div id="routemap" style="width:<?php echo  Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div>

To this,

<div id="routemap" style="width:600px height:480px"></div>

That should give you want your after.

Link to comment
Share on other sites

I believe the file you are looking for is called, route_map.tpl, you can shange the size be defining and changing the default code at the top,

Just change from this,

<div id="routemap" style="width:<?php echo  Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div>

To this,

<div id="routemap" style="width:600px height:480px"></div>

That should give you want your after.

mine already appeared as you said to alter it for some reason, i copyed and pasted your code and replaced it just in case, but its being persistant and still wont change ??

Link to comment
Share on other sites

  • Moderators

**EDIT**

Never mind. Sorry for the post. I should have read it a bit closer before posting.

Im glad its not just me that does that, as i get older i need to read things a few times before jumping in :)

@ Tylor,

Just make sure that you are editing the right tpl as there is a couple, just edit the <h3> tag to something that will update just so you know your in the right file :)

Link to comment
Share on other sites

Im glad its not just me that does that, as i get older i need to read things a few times before jumping in :)

@ Tylor,

Just make sure that you are editing the right tpl as there is a couple, just edit the <h3> tag to something that will update just so you know your in the right file :)

I found it, the file was called flown_routes_map.tpl, i just did a search for 'route' then looked through them all, thanks for the help, looks much neater now that the maps a bit smaller

cheers

Link to comment
Share on other sites

  • 6 months later...
  • 6 years later...

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