blank empty gray map with any provider

6 posts, 1 answers
  1. PETE
    PETE avatar
    1 posts
    Member since:
    Nov 2012

    Posted 12 Dec 2012 Link to this post

    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
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 17 Dec 2012 Link to this post

    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.

  3. DevCraft banner
  4. Rusdi
    Rusdi avatar
    2 posts
    Member since:
    Sep 2012

    Posted 01 Mar 2013 Link to this post

    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 ?
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 04 Mar 2013 Link to this post

    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.

  6. Rusdi
    Rusdi avatar
    2 posts
    Member since:
    Sep 2012

    Posted 10 Mar 2013 Link to this post

    Hi,

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

    Thanks.
  7. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 11 Mar 2013 Link to this post

    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.

Back to Top
DevCraft banner