Jump to content

REALScheduleLite Map


Soundman9

Recommended Posts

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

Link to comment
Share on other sites

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