Greetings,
I am very new to mapping, but I've gotten a pretty good understanding of the basics from the "StartupSolution" sample. I'm trying to emulate the exact same code used in the SetDefaultLocation() method in the GeometryBinding.xaml.cs file. However, when I load my page, I get the following error:
"Cannot create viewport matrix"
It's happening at the following line of code:
theMap.WindowRect = theMap.WorldRect = winRect;
I'm stumped. The only difference between my code and the code in the sample is taht I am using this in my main page, rather than navigating to it frmo another page.
Any ideas?
Thanks in advance.
Hi Michael,
The resolution, that initions suggested, could be used as a workaround here. However, the issue's been reported and it will be addressed in our next release.
Thank you for pointing this out and sorry for any inconvenience it caused.
Best regards,Milana Zhileva