This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

on win 7 C# WPF application OSM error: unable to contact the server to download map data

0

I am trying to access OSM data from C# WPF application in VS2013 on win7.

The code is at: http://www.codeproject.com/KB/WPF/MapControl/MapControl.zip

When I opened it (from my laptop ) and zoomed in, I got error:

unable to contact the server to download map data.

when I visited

 http://tile.openstreetmap.org/3/3/3.png

from the WPF applciation. If I opened the WPF application in a remote server (with win server 2008 and win 2012), no problems.

But, about two months ago, I could open the same application on my laptop without problems.

I can access OSM a and zoom in deeper by visiting OSM from web browser

 http://tile.openstreetmap.org/3/3/3.png

It is a WPF application and I cannot see the URL when I zoomed in. I felt that when I zoomed in above level 4, i got the error: unable to contact the server to download map data.

I also tested it on my desktop with win7, when I opened the WPF applciation, I got the same error.

Any suggestions ? thanks

asked 15 Mar '16, 21:25

usact's gravatar image

usact
19335
accept rate: 0%

edited 15 Mar '16, 22:19

To save everyone reading through the project, what URL is it trying to access? What actual error is it getting?

(15 Mar '16, 21:42) SomeoneElse ♦

It is a WPF application and I cannot see the URL when I zoomed in. I felt that when I zoomed in above level 4, i got the error: unable to contact the server to download map data.

(15 Mar '16, 21:47) usact