justifyletters Posted September 28, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
Members Vangelis Posted September 28, 2017 Members Report Share Posted September 28, 2017 Link with test account please so we can check Quote Link to comment Share on other sites More sharing options...
Thomasha Posted September 29, 2017 Report Share Posted September 29, 2017 Have you put in your google api's? Quote Link to comment Share on other sites More sharing options...
LukeW Posted September 29, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
flyalaska Posted September 29, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
justifyletters Posted September 30, 2017 Author Report Share 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 Link to comment Share on other sites More sharing options...
justifyletters Posted September 30, 2017 Author Report Share 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 Link to comment Share on other sites More sharing options...
smokey68 Posted October 4, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
justifyletters Posted October 6, 2017 Author Report Share Posted October 6, 2017 Issue has been fixed. Thank you for the responses! Quote Link to comment Share on other sites More sharing options...
Bluemax Posted September 19, 2019 Report Share 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 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.