I am just following the instructions for C#, but all I get is blueish background when I run it.
I notice that step 4 says to add the XamMap control "with appropriate projection type", but the code provided doesn't mention projection type at all.
The Open Street Map in the Samples I downloaded works just fine, the projection there is SphericalMercator, so I tried THAT in my tutorial control, but I still get just an expanse of blue rather than being centered on the UK.
Hi jensfiederer,
The ProjectionType used in XamMap by default is SphericalMercator and that is the reason it is not explicitly mentioned in the article.
Please, take a look at the sample application () I made, following the same steps. The only thing that needs to be done in order to get it working is to add Infragistics dlls. That way, you would be able to compare both applications and find out what is causing the issue.
Feel free to post back should you need any additional information.
Hope that helps,Milana Zhileva
Thank you very much, your example works for me (after, as you said, adding the references...also had to add a "using"). It remains to be seen why mine does NOT work. The only differences in the MainPage.xaml and MainPage.xaml.cs were the project name/namespace and white space (there was also a different ordering of the xml namespace declarations, but changing the order didn't help or hurt).
I am going to take a look to see if there is something wrong with my web project that hosts it.
It looks like the puzzle will remain unsolved - but I suspect it has something to do with the fact that I created the project in a previously existing solution rather than a new one, and this previous solution had been created in v10.3 and converted to v11.1 ....
In a completely new solution everything works fine for me, and why the old one did NOT function isn't worth investigating (since it contained nothing precious).
Thank you again for providing simple workable code I could check mine against!