Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Setting WorldRect of XamGographicMap: No calls to GetTileLayers of custom MapTileSource.
posted

When setting the WorldRect property to

{-20037508,3428;-20037508,3428;40075016,6856;40075016,6856}

Using a custom MapTileSource (that fetches images from a WMS-service). I don't get any calls to GetTileLayers, no images downloaded and no error. Just a mapcontrol without maps in it.

I see that the ActualWorldRect gets immediatly changes its value from {-180;-85,05112878;360;170,10225756} to {-20037508,3428;-90;40075016,6856;NaN}, after setting the WorldRect.

It looks a little suspicious, but It might be because I dont really understand the concept of the ActualWorldRect. I don't see any good description in the documentation. Can someone clarify?

In general, what determines what calls are made to GetTileLayeres?

  • 138253
    Offline posted

    Hello Thomas,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

  • 138253
    Offline posted

    Hello Thomas,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.

     

    Feel free to write me if you have further questions.