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

blank empty gray map with any provider

5 Answers 146 Views
Map
This is a migrated thread and some comments may be shown as answers.
PETE
Top achievements
Rank 1
PETE asked on 12 Dec 2012, 06:35 PM
With an OpenStreetMapProvider or BingMapProvider, the RadMap at run time was blank, empty, and gray each time I loaded my Silverlight application in a web browser.

I found the cause to be that I loaded my Silverlight application in a web browser with a file-based address, such as "file:///C:/TestPage.html".

The solution was to start IIS Express, host my Silverlight application on localhost in IIS Express, and load my Silverlight application in a web browser with a web-based address on localhost, such as "http://localhost:8080/TestPage.html".

I hope this helps other people with the same problem.

Pete

related threads...
Problem with Map at runtime

5 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 17 Dec 2012, 09:41 AM
Hi Pete,

There is a known problem which occurs when a Silverlight project is assigned as startup instead of Web project. In this case the tiles are displayed in design time and are not displayed at runtime, because the security policies do not allow downloading data from Web.

You should create Web project which will be used to run your Silverlight application (if Visual Studio didn’t do it for you) and set it as startup project. Usually Visual Studio asks you to create that project when you create Silverlight solution.

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Rusdi
Top achievements
Rank 1
answered on 01 Mar 2013, 06:52 AM
I have strange problem related to this matter, the gray area (map is not loading) happened at some of computer (not all).
And it only happened on the IE (because we use this as standard) when using other browser it loads fine.
Most of it happened when the client visit the page at very first time and then suddenly it loads fine and we don't know what fix this problem. At some computer even the client visit the page at very first time it loads the map just fine.
So its kind a hard to trace what causing this problem, because once the 'problem computer' able to load then it able to load fine afterwards.

We're using the openstreetmap as the provider and put the silverlight on our sharepoint portal.
Maybe is there any insight/clue what causing this kind of behavior ?
0
Andrey
Telerik team
answered on 04 Mar 2013, 04:02 PM
Hello Rusdi,

It looks like network related problems. A long delay on the OpenStreet server response or some rules in your company proxy can cause this behavior. You have to solve it with your system administrator (use network sniffers and analyzers to detect bottlenecks, for example, check proxy settings and so on).

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Rusdi
Top achievements
Rank 1
answered on 11 Mar 2013, 03:42 AM
Hi,

Is there any function/properties to check telerik map loaded all the image successfully ?
Or is there a way to check ?

Thanks.
0
Andrey
Telerik team
answered on 11 Mar 2013, 07:33 AM
Hi Rusdi,

Presently, RadMap does not support functionality which allows to check that all images of map have been loaded successfully.

Greetings,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Map
Asked by
PETE
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Rusdi
Top achievements
Rank 1
Share this question
or