Update MapLayers.cs

This commit is contained in:
ClemensF 2020-10-24 10:29:12 +02:00
parent 335083d1aa
commit 09cb68b1bf

View file

@ -162,13 +162,13 @@ namespace ViewModel
public MapLayers()
{
SetBingMapsApiKey();
// Bing Maps TileLayers with tile URLs retrieved from the Imagery Metadata Service
// Add Bing Maps TileLayers with tile URLs retrieved from the Imagery Metadata Service
// (http://msdn.microsoft.com/en-us/library/ff701716.aspx).
// A Bing Maps API Key (http://msdn.microsoft.com/en-us/library/ff428642.aspx) is required
// for using these layers and must be assigned to the static BingMapsTileLayer.ApiKey property.
SetBingMapsApiKey();
if (!string.IsNullOrEmpty(BingMapsTileLayer.ApiKey))
{
MapLayerNames.Add("Bing Maps Road");