NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×204
×48
×14
×7

question asked: 15 Mar '16, 21:25

question was seen: 2,920 times

last updated: 15 Mar '16, 22:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum