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
340
XamMap.WindowRect is always Empty
posted

Hi,

I am trying to integrate OpenStreetMap in my Silverlight application using XamMap. But the map is not rendering on the page.

 

Here is my XAML:-

 

 Here is my code behind:-

 

Any suggestions?

 I am calling this function in UserControl_Loaded event. One thing I observed is xamMap.WindowRect  property is always Empty.