This is a migrated thread and some comments may be shown as answers.

Map not loading

1 Answer 42 Views
Map
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 21 Apr 2011, 11:52 AM
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 ...

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 26 Apr 2011, 08:32 AM
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.

Regards,
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
Tags
Map
Asked by
Andy
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or