Soundman9 Posted October 21, 2015 Report Share Posted October 21, 2015 Hi I'm currently messing around with this module on the site to make it look as clean as possible to fit the look of our site and I am happy with the results and the module is great. The only thing I would like to do is change the map which shows the booked flight route to use the google map (like the standard live acars map) Has anyone managed this. Current code looks like below. <th align="center"colspan="4">Flight Map</th> </tr> <tr> <td width="100%" colspan="4"> <?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" /> Obviously red is pulling the map image its using but it isn't the best and think the standard google map will look much nicer. I presume to pull the google map in it may need some code adjustments to correctly mark and trace the flight and deprt / arr ICAO's? Cheers Quote Link to comment Share on other sites More sharing options...
Soundman9 Posted October 21, 2015 Author Report Share Posted October 21, 2015 Current map supplied with module looks like this Would much prefer to use Google to look like this - like on the rest of our site 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.