Map not loading

2 posts, 0 answers
  1. Andy
    Andy avatar
    6 posts
    Member since:
    Apr 2011

    Posted 21 Apr 2011 Link to this post

    I've created a new silverlight 4 application and added a map control to it. In the code behind I set a new OSM provider to it. When I run the application form within Visual Studio everything works as expected. When starting it by opening the *.html file manually in the browser the map data doesn't load anymore. Everything stays in the background color but the navigation controls show that I'm moving around the map or zooming in and out. Seems like the provider isn't allowed to download map data anymore. Any ideas what I'm missing?

    Thanks in advance ...
  2. Andrey
    Andrey avatar
    1681 posts

    Posted 26 Apr 2011 Link to this post

    Hello Andy,

    When you start the application from the Visual Studio then it loads html via HTTP from local Web server. So, in this case the application works as expected.
    But when you open the html file using local file path then the security policies do not allow downloading data from Web. So, the tile images of the map are not displayed.

    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top