mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-03-30 01:55:18 +02:00
Update MapLayers.cs
This commit is contained in:
parent
335083d1aa
commit
09cb68b1bf
|
|
@ -162,13 +162,13 @@ namespace ViewModel
|
||||||
|
|
||||||
public MapLayers()
|
public MapLayers()
|
||||||
{
|
{
|
||||||
SetBingMapsApiKey();
|
// Add Bing Maps TileLayers with tile URLs retrieved from the Imagery Metadata Service
|
||||||
|
|
||||||
// Bing Maps TileLayers with tile URLs retrieved from the Imagery Metadata Service
|
|
||||||
// (http://msdn.microsoft.com/en-us/library/ff701716.aspx).
|
// (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
|
// 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.
|
// for using these layers and must be assigned to the static BingMapsTileLayer.ApiKey property.
|
||||||
|
|
||||||
|
SetBingMapsApiKey();
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(BingMapsTileLayer.ApiKey))
|
if (!string.IsNullOrEmpty(BingMapsTileLayer.ApiKey))
|
||||||
{
|
{
|
||||||
MapLayerNames.Add("Bing Maps Road");
|
MapLayerNames.Add("Bing Maps Road");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue