Morgan
July 28, 2016, 10:40am
1
Hello plz plz help me i have just chnaged the url of my website to http://sasvirtualgroup.com but now my airline map and live map are not working
i have tried using this
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCqCyJceUqcpWu0BQ3YiSHEUEg5TRrYdIs&callback=initMap"></script>
but its not working
vJet2
July 28, 2016, 6:52pm
2
You need to add your URL to your API key at google
vJet2
July 29, 2016, 6:37pm
4
You need to put an astrix at the end. This gives it a wild card for all variations of your URL
It should look like this
sasvirtualgroup.com/ *
Make sure yo give it about 5 minutes to register
vJet2
August 3, 2016, 6:10pm
6
Where do you have your key placed. When I inspect your acars page I get this
https://gyazo.com/a8eebd992cab9e000141ca8670f69ea3
It should only be in your core_htmlhead
Check that it is not in your acarsmap.php or maybe your layout.php
Morgan
August 3, 2016, 7:18pm
8
ok so i removed in second place i put it so all it is now is this
oogle Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://sasvirtualgroup.com/en/index.php/airlinemap
Morgan
August 3, 2016, 7:27pm
9
Never mind i have fixed the issue
its what you said earlyer
You need to put an astrix at the end. This gives it a wild card for all variations of your URL
It should look like this
sasvirtualgroup.com/ *
Make sure yo give it about 5 minutes to register
but i miss understood :? anyway thanks you very much
vJet2
August 3, 2016, 8:22pm
10
Glad you are sorted please mark your thread as Solved