justifyletters Posted September 28, 2017 Report Posted September 28, 2017 (edited) Hello! I have installed phpVMS, along with the CrewCentre skin, but unfortunately the Google Maps do not work. I have tried to search for fixes but no luck. Is there a way to fix this? Edited October 10, 2017 by justifyletters Quote
Members Vangelis Posted September 28, 2017 Members Report Posted September 28, 2017 Link with test account please so we can check Quote
Thomasha Posted September 29, 2017 Report Posted September 29, 2017 Have you put in your google api's? Quote
LukeW Posted September 29, 2017 Report Posted September 29, 2017 Yeah this is an API issue Head to this link: https://developers.google.com/maps/ And follow the steps to get your API key. If you need help then adding it let me know Quote
flyalaska Posted September 29, 2017 Report Posted September 29, 2017 The google api really wasn't working for me. It would load the map only when you refreshed the page, not on initial start up. I changed the google api code to this and I have no issues. Quote <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> 1 Quote
justifyletters Posted September 30, 2017 Author Report Posted September 30, 2017 19 hours ago, flyalaska said: The google api really wasn't working for me. It would load the map only when you refreshed the page, not on initial start up. I changed the google api code to this and I have no issues. Where have you replaced this code? Quote
justifyletters Posted September 30, 2017 Author Report Posted September 30, 2017 19 hours ago, LukeW said: Yeah this is an API issue Head to this link: https://developers.google.com/maps/ And follow the steps to get your API key. If you need help then adding it let me know Where exactly are you supposed to put in the API key? Quote
smokey68 Posted October 4, 2017 Report Posted October 4, 2017 On 9/30/2017 at 10:52 AM, justifyletters said: Where exactly are you supposed to put in the API key? Use the code below and replace your api key that you get from https://developers.google.com/maps/ with "YOUR API KEY HERE" in the below script and place the script before the ending </head> tag in your layout file of your template. <script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR API KEY HERE"type="text/javascript"></script> Quote
justifyletters Posted October 6, 2017 Author Report Posted October 6, 2017 Issue has been fixed. Thank you for the responses! Quote
Bluemax Posted September 19, 2019 Report Posted September 19, 2019 OK, I realize this is an old post. I have been running the ObsessBlue skin on three different sites since 2009 never had an issue with the live map. The PHPvms version is the original when it came with the Crystal and crystalsidebar skins, anyhow I decide to update one of the sites with first version 5.5 xx and that version is over my head. The only skin i can use is the default crystal. anything else is a washout including the Ocean-Blue which was created for the 5,5xx version. So I went to PHPvms V2 all is well everything works except the Acars Map is blank on every skin except the default cyrstal skin. My api keys is installed... the maps work on my older versions of PHPvms .... So i was trying to build on the cyrstal skin until I realised what i need to know about the skin does not exsit in the layout template,, the .css is not an issue, Its not knowing specifically where the content is that drives that skin, such as the menubar and display content and yet I have no issue getting around the ObsessBlue skin,,,go figure. im a trial and error cut and paste person, don't know the code. If I wern't 73 years old I would learn it...but i could be playing the harp by then.Anyway guys, im open to any suggestions that would put me on the correct path. Quote
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.