mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapLayers.cs
This commit is contained in:
parent
335083d1aa
commit
09cb68b1bf
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue