Hello,
I have trouble with using GoogleMapsOverlay. When I include this overlay in my map, I get exception
"Invalid length for a Base-64 char array.".
I use Key for browser apps (39 caracters)
map.MapUnit = GeographyUnit.Meter;
GoogleMapsOverlay googleOverlay = new GoogleMapsOverlay();
googleOverlay.CacheDirectory=@"C:\GoogleCache";
googleOverlay.PrivateKey = "AIzaSyBYITXujwls1FutZIR6ABakjnAYCd4Raet";
googleOverlay.MapType = GoogleMapsMapType.Terrain;
map.Overlays.Add(googleOverlay);
map.Refresh();
code throws exception on last line. Explain me pls where is my mistake?
Thanks!