Google Terrain - the remote server returned an error 404

Topics: Help
Jan 11, 2011 at 1:04 AM

GMap.NET is having trouble loading Terrain?

This happens to me in Demo.WindowsForms.exe and Demo.WindowsPresentation.exe on two different computers (same LAN).

Anybody else?

Jan 11, 2011 at 8:53 AM

is automatic version detection working?

Jan 11, 2011 at 6:02 PM

hello radioman,

How do I tell if automatic version detection is working? I opened the Gmap.NET project and searched but nothing seems relevant. I see this: but still have no idea.

All the other maps are loading okay, only Google Terrain is having problems. Google Terrain working okay for you then? I can load the terrain map ( in my browser, so I know Google is not blocking me.

Jan 11, 2011 at 6:14 PM

run in debug mode, and watch the output, and yes for me it's working as usual ;}

Jan 11, 2011 at 6:40 PM

where is all start log?

Jan 11, 2011 at 8:03 PM

still can't see the start of the log ;/

Jan 11, 2011 at 8:12 PM

Google Map seems good, but Satellite is also having problems

Jan 11, 2011 at 8:33 PM

turn on any demo, and copy first 20 lines from output ;] don''t waste codeplex storage with garbage

Jan 11, 2011 at 8:36 PM

you should find these lines if it's ok:

TryCorrectGoogleVersions, VersionGoogleMap: m@142
TryCorrectGoogleVersions, VersionGoogleLabels: h@142
TryCorrectGoogleVersions, VersionGoogleSatellite: 76
TryCorrectGoogleVersions, VersionGoogleTerrain: t@126,r@142

Jan 11, 2011 at 8:54 PM

Debugging TryCorrectGoogleVersions()

html.LastIndexOf("apiCallback(["); is returning -1;

large html returned on line line, trying to make sense of it, starts with


<!DOCTYPE html><html xmlns:v=\"urn:schemas-microsoft-com:vml\" class=\"\"><head> <meta content=\"text/html;charset=UTF-8\" http-equiv=\"content-type\"/> <meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\"/> <meta content=\"Find local businesses, view maps and get driving directions in Google Maps\" name=\"description\"/>   <noscript> <meta content=\"0; URL=/m?oi=nojs\" http-equiv=\"refresh\"/> </noscript> <title>Google Maps</title>

Jan 11, 2011 at 9:02 PM

you use old version, current version uses RegularExpressions to get correct ids

Jan 11, 2011 at 9:03 PM

Also found this in "html" variable of method TryCorrectGoogleVersions(): 

window.GLoad = function(apiCallback) {apiCallback(0,0,0,0,0,0,0,0,0,0 ,jslinker ,0 );} ;var appOptions = [[\"\\x26hl=en\\x26\",\"\\x26hl=en\\x26\"],[\"\\x26\",\"\\x26\"],[\"\\x26hl=en\\x26\",\"\\x26hl=en\\x26\"],[\",r@142\\x26hl=en\\x26\",\",r@142\\x26hl=en\\x26\"],[\"\\x26\",

Jan 11, 2011 at 9:03 PM

old version of Gmap.NET? 

Jan 11, 2011 at 9:09 PM

Jan 11, 2011 at 9:29 PM

Working once again, thanks radioman. 

Jan 11, 2011 at 9:31 PM