Jump to content

Recommended Posts

Posted

I am wanting to get rid of the GOOGLE map that shows up on the flight schedule view page. I want to replace it with the Great Circle Map one. What is the correct code to show the flights' route on GCM instead of GOOGLE? I think that I will need to change the MODULE to be able to remove the GOOGLE map itself, but what code do you place in the public_html/core/templates/schedule_details.tpl?

Posted (edited)

After a couple of days deep scanning these forums, I was finally able to find the code I was looking for.

Thanks go out to Ian for posting this code in a post dated 14 May 2011 on this page: http://forum.phpvms.net/topic/5157-how-to-use-gc-map-insetad-of-google-maps/

<img src="http://www.gcmap.com/map?P=<?php echo $schedule->depicao ?>-<?php echo $schedule->arricao ?>&MS=wls&MR=15&MX=720x360&PM=*" />

Now I need to find out where I need to go in order to remove the Google map. I couldn't find it in Modules... :(

Found what I was looking for.

Edited by Jeff
  • 3 weeks later...

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