problem of Map display, no internet

Topics: Windows Mobile
Feb 27, 2012 at 7:24 AM
Edited Feb 27, 2012 at 7:42 AM

All the map can display in your mobile demo,but GoogleMap include GoogleChinaMap.But i use the other maps can display,like YahooMap.

I need use GoogleChinaMap in my project.Can u help me?

Debug:

MapType: LithuaniaMap -> GoogleMap
CacheEngine[6]: storing tile 1529441131 at zoom 2, pos: {X=42,Y=29}, CacheType:Both, 13kB...
CacheEngine[5]: storing tile 1529441131 at zoom 2, pos: {X=41,Y=28}, CacheType:Both, 38kB...
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
A first chance exception of type 'System.Net.WebException' occurred in System.dll
TryCorrectGoogleVersions failed: System.Net.WebException: Unable to resolve the remote name 
---> System.Net.Sockets.SocketException:Unable to identify the host
from System.Net.Dns.ResolveInternal(String hostName)
from System.Net.Dns.GetHostEntry(String hostNameOrAddress)
from System.Net.ServicePoint.resolve()
from System.Net.Connection.connect(Object ignored)
from System.Threading.ThreadPool.WorkItem.doWork(Object o)
from System.Threading.Timer.ring()
from System.Net.HttpWebRequest.finishGetResponse()
from System.Net.HttpWebRequest.GetResponse()
from GMap.NET.MapProviders.GMapProvider.GetContentUsingHttp(String url)
from GMap.NET.MapProviders.GoogleMapProviderBase.OnInitialized()
from GMap.NET.Internals.Core.set_Provider(GMapProvider value)
from GMap.NET.WOnMapSizeChanged, w: 240, h: 268, size: {Width=1, Height=1}
OnTileLoadStart - at zoom 2, time: 14:51:21
------------------
Feb 27, 2012 at 7:37 AM

to be able to use internet connection in emulator you have to 'cradle' it at connection manager

Feb 27, 2012 at 10:21 AM
radioman wrote:

to be able to use internet connection in emulator you have to 'cradle' it at connection manager

radioman, i have 'cradled' at connection manager.and also i can use internet connection in emulator.

and use ur demo,i can display all the map except GoogleMap. so strange...

Feb 27, 2012 at 12:06 PM

i'll check it later

Feb 27, 2012 at 2:20 PM
radioman wrote:

i'll check it later

After checked,tell me,plz...or reply..ok?.thanks a lot.~ ~lol

Feb 29, 2012 at 3:22 AM
radioman wrote:

i'll check it later

radioman,i have solve this problem.the reason why i can't display the googlemap is i changed "etc/host" file.in China,sometimes we can't visit google in ipv4.

So i change google ip to visit in ipv6.That's why the emulator cant display the only googlemap.

Feb 29, 2012 at 8:30 AM

i see, roger that ;}