Hi,
what is BingMapsOverlay.Credentials for?
Is it needed, as it works without?
Best Regards
Helmut
BingMapsOverlay Credentials
Hi Helmut,
For simple use it, you can directly use that like this:
if (!Page.IsPostBack)
{
Map1.MapBackground.BackgroundBrush = new GeoSolidBrush(GeoColor.FromHtml("#E5E3DF"));
Map1.CurrentExtent = new RectangleShape(-2000000, 2000000, 2000000, -2000000);
Map1.MapUnit = GeographyUnit.Meter;
BingMapsOverlay worldMapKitOverlay = new BingMapsOverlay();
Map1.CustomOverlays.Add(worldMapKitOverlay);
}
But if you need use that in your product for get more tiles, the Credentials is used for assign the key which you got from BingMap.
Regards,
Don