Tylor Eddy Posted January 23, 2011 Report Posted January 23, 2011 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 Quote
Moderators mark1million Posted January 23, 2011 Moderators Report Posted January 23, 2011 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. Quote
Tylor Eddy Posted January 23, 2011 Author Report Posted January 23, 2011 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 ?? Quote
TAV1702 Posted January 24, 2011 Report Posted January 24, 2011 **EDIT** Never mind. Sorry for the post. I should have read it a bit closer before posting. Quote
Moderators mark1million Posted January 24, 2011 Moderators Report Posted January 24, 2011 **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 Quote
Tylor Eddy Posted January 24, 2011 Author Report Posted January 24, 2011 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 Quote
ayhan041 Posted November 26, 2017 Report Posted November 26, 2017 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 ? Quote
ayhan041 Posted November 27, 2017 Report Posted November 27, 2017 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 ? any one know about this problem ? Quote
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.