Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Here is my main page:
<?xml version="1.0" encoding="utf-8" ?>
<maps:Map x:Name="map" Grid.ColumnSpan="3"/>
and if you run the application you get the following error:
Value cannot be null.
Object reference not set to an instance of an object.
at System.StubHelpers.HStringMarshaler.ConvertToNativeReference(String managed, HSTRING_HEADER* hstringHeader)
at Windows.UI.Xaml.Controls.Maps.MapControl.put_MapServiceToken(String value)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
Ok so it does work I had to call:
But I still got
"Warning: Map Service token not specified" under my map.
Is that normal?
This is due to my mistake not realising it was using Bing maps, instead I presumed it was using google maps and provided my google API key