NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum

Hi everyone!

This newbie has an urgent question: I am using the following URL in a Visual Basic (2010) program to show the OSM map in a web browser control. (The VB Webbrowser control uses the settings of the IE on the machine the software runs on.)

Me.Map.Navigate("" & lat & "&mlon=" & lon & "&zoom=" & level)

Thus, the URL given to the control looks something like this at runtime:

This always worked for the last three years. But strangely, it doesn't work anymore since yesterday(or maybe the day before, I don't know for sure). When I paste the URL into IE, it shows the map as usual, but when my software is told to open the link, it only shows a white page with the OSM Navigation bar on the left and nothing else.

Can anyone help me with this, or at least tell me if anything has been changed in OSM lately? It does look like it, because the above mentioned URL automatically gets changed to the following when opened in a web browser:

The last part beginning with #map seems to be new to me. But even when I change the URL in my program to the above, extended version, the map won't get shown.

Any help would be very much appreciated, as my software runs on several computers and people start asking me what's wrong.



asked 25 Sep '13, 09:37

Dirk_R's gravatar image

accept rate: 0%


Not sure why your application can't handle the page anymore but this is actually not an extended version but a shorter one: (zoom/lat/lon) is now the new format.

(25 Sep '13, 10:09) scai ♦

@scai - not really, the original URL had a marker in it hence the one in the question really was the equivalent (with 2 sets of co-ordinates - one for the marker, one for the map centre).

(25 Sep '13, 10:25) SomeoneElse ♦

Are you sure the Webbrowser control uses the settings of IE on the machine the software runs on? I just threw a control on a Windows Form and navigated to the URL in your example and it looks the same as if I switch IE10 to IE7 standards mode.

(25 Sep '13, 10:32) EdLoach ♦

@SomeoneElse Oh I missed that, you are right.

(25 Sep '13, 10:43) scai ♦

Hi all and thanks for the fast replies!

EdLoach, you are right! When I turn IE10 back to IE7 settings, that's exactly the picture I get in my program! Only why VB puts the browser element in IE7 mode, I don't know. But I will look into the settings of my project, maybe there's something I overlooked.

Second thing I don't quite get is why this problem only started appearing two days ago. Maybe some of the latest MS security patches?!

Thanks again for your prompt answers!


(25 Sep '13, 11:08) Dirk_R
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 25 Sep '13, 09:37

question was seen: 4,431 times

last updated: 25 Sep '13, 11:24

NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum