Google Maps

Is Virtual Radar Server not behaving itself? If so then please report it here.
kappy1
Posts: 14
Joined: Wed Oct 21, 2015 5:51 pm

Google Maps

Postby kappy1 » Sun May 28, 2017 12:04 pm

Google maps are working ok but I get the follow error message when checking console
https://developers.google.com/maps/docu ... ed-version

agw
Posts: 1883
Joined: Fri Feb 17, 2012 3:20 am

Re: Google Maps

Postby agw » Fri Jun 09, 2017 12:23 am

It's only a warning, it's not an error, you can ignore it. VRS requests a particular version of Google Maps when it loads the maps but eventually Google will retire that version of maps and serve a later version instead. VRS's release cycle is longer than Google Maps' so eventually you're going to get that message in the console.

It's possible that a new version of Google Maps could break the release build of VRS, but when that happens I just put out an interim version of VRS that fixes the issue. I can only remember it happening once before, years ago. Google have been pretty good with maintaining backwards compatibility for Maps.

paradiselost
Posts: 83
Joined: Sun Apr 06, 2014 10:22 am
Location: Philippines

Re: Google Maps

Postby paradiselost » Wed Aug 16, 2017 4:02 am

Bundle errors, when site is displayed map temporarily displays then immediately get the opps screen.

Does the same on latest version of Chrome and Firefox. Uninstalling the beta and reinstalling doesn't help.

The URL http://122.52.129.228:8080/virtualradar displays the map problem. On the site VRS server page lists the private IP for the internet address rather than the WAN IP. Server site has changed ISPs. Using the private IP selection displays map normally as well as the 127.0.0.1 selection.

Shakey

agw
Posts: 1883
Joined: Fri Feb 17, 2012 3:20 am

Re: Google Maps

Postby agw » Sun Aug 20, 2017 9:25 pm

That message is coming out of Google. Google now requires an API key for public sites displaying maps:

http://www.virtualradarserver.co.uk/Documentation/WebServer/GoogleMapsAPIKey.aspx

paradiselost
Posts: 83
Joined: Sun Apr 06, 2014 10:22 am
Location: Philippines

Re: Google Maps

Postby paradiselost » Wed Aug 23, 2017 6:42 pm

I got the APIkeys for all my sites and added it to VRS.

It got rid of the ooops error but didn't display the map in its place.

There was an instruction to add <script async defer
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
</script>

I couldn't find where to place this code in VRS. Do I add it to the header of desktop.html and mobile.html?

Two of my sites display correctly after just entering the APIkey for that site in VRS but not this one I received the ooops error on. Adding the key in its VRS program without adding the script doesn't display the map.
Working Example of Version 2.3.0 Virtual Radar Server http://222.127.74.244/virtualradar/
VRS 2.2 Help Files http://222.127.74.244:8080

paradiselost
Posts: 83
Joined: Sun Apr 06, 2014 10:22 am
Location: Philippines

Re: Google Maps

Postby paradiselost » Tue Sep 05, 2017 10:23 pm

I am still having no map display on desktop.html when accessed from the internet on one of my sites. Map displays properly when mobile.html is accessed from the internet. Desktop page inspection reveals the version of maps requested is expired.

I am running the beta version on all three of my sites and two installations work ok.

You said that you had a fix in June for the maps out of date problem but have been unable to locate it with a June file date in the preview section.

The site with the missing desktop map works fine if the 127.0.0.1 or the local IP version is selected from the main VRS screen. The internet address is erroneously showing the local IP rather that the WAN IP.

shakey
Working Example of Version 2.3.0 Virtual Radar Server http://222.127.74.244/virtualradar/
VRS 2.2 Help Files http://222.127.74.244:8080


Return to “Bug Reports”

Who is online

Users browsing this forum: Google [Bot] and 2 guests