Jump to content

Recommended Posts

Posted

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

  • Moderators
Posted

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.

Posted

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

  • Moderators
Posted

**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 :)

Posted

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

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

hello  i finish my flight and accept 2x flight but still one flight tracked under map and  map dose not work please help me

what i can do ?  we have no flight right know but my flight tracked under map what i must do ?

zyhn_ss.jpg

Posted
13 hours ago, ayhan041 said:

hello  i finish my flight and accept 2x flight but still one flight tracked under map and  map dose not work please help me

what i can do ?  we have no flight right know but my flight tracked under map what i must do ?

zyhn_ss.jpg

any one know about this problem ?

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