Jump to content

ACARS Map Error


Rafi378

Recommended Posts

Hi, can you provide the following template codes via pastebin.net, please?

  • acarsmap.tpl found in core/templates or lib/skins/[yourskin]
  • acarsmap.js found in lib/js
  • core_htmlhead.tpl found in core/templates or lib/skins[yourskin]

Hopefully we can get this fixed by comparing the default templates and these templates to check for any missing javascript libraries, or necessary call-to functions.

Link to comment
Share on other sites

Hi,

It looks like the problem lies in the acarsmap.js file, where you attempted to attach an external JS library within JS code. Fix it up by simply moving the following code found on line 20 of acarsmap.js:

<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false">
</script>

To core_htmlhead.tpl by replacing line #35 on there with the code above. I notice you're also wanting clouds over your acarsmap, be sure to have the code found in the link below added right after line #41 on acarsmap.js.

http://forum.phpvms....+weather +acars

Hope this worked! :)

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