System.Windows.Markup.XamlParseException when using MapControl in Windows Phone 8

When working with the MapControl in Windows Phone 8 , you might receive the following error when the right capabilities for the Map is not set in the Windows Phone Application Manifest file.

System.Windows.Markup.XamlParseException when using MapControl in Windows Phone 8

To resolve this error , Open the WMAppmanifest.xml file and the check or enable the ID_CAP_MAP in the capabilities tab.

%d