HighFlyerPL185 Posted February 14, 2013 Report Share Posted February 14, 2013 How can I put a route map of the booked flight inside schedule briefing page, and how can I apply a size change of the map, only for that specific page? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 14, 2013 Moderators Report Share Posted February 14, 2013 Like this: This is the code I use in schedule_results.tpl : <table> <tr> <th align="center" bgcolor="black"><font color="white">Flight Map</font></th> </tr> <tr> <td width="100%"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%" src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=680x200&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /> </td> </tr> </table> 2 Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted February 14, 2013 Author Report Share Posted February 14, 2013 Thank you parkho Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 15, 2013 Moderators Report Share Posted February 15, 2013 Yw. Did it work for you? Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted February 15, 2013 Author Report Share Posted February 15, 2013 Yw. Did it work for you? Yes, I just had to change $route to $schedule. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 17, 2013 Moderators Report Share Posted February 17, 2013 gr8 Quote Link to comment Share on other sites More sharing options...
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.