Skip to content

Commit 04c6b7e

Browse files
authored
Merge pull request #2233 from Microsoft/dev
Sync from dev
2 parents 09424ca + 880abc8 commit 04c6b7e

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed

templates/Uwp/Pages/Map.CaliburnMicro/ViewModels/MapPageViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ protected override async void OnInitialize()
8282
}
8383

8484
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
85-
MapServiceToken = string.Empty;
86-
85+
// MapServiceToken = string.Empty;
8786
var view = GetView() as IMapPageView;
8887

8988
view?.AddMapIcon(Center, "Map_YourLocation".GetLocalized());

templates/Uwp/Pages/Map.CodeBehind/Views/MapPagePage.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public async Task InitializeAsync()
7474
if (mapControl != null)
7575
{
7676
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
77-
mapControl.MapServiceToken = string.Empty;
78-
77+
// mapControl.MapServiceToken = string.Empty;
7978
AddMapIcon(Center, "Map_YourLocation".GetLocalized());
8079
}
8180
}

templates/Uwp/Pages/Map.CodeBehindVB/Views/MapPagePage.xaml.vb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ Namespace Views
6868

6969
If mapControl IsNot Nothing Then
7070
' TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
71-
mapControl.MapServiceToken = String.Empty
72-
71+
' mapControl.MapServiceToken = String.Empty
7372
AddMapIcon(Center, "Map_YourLocation".GetLocalized())
7473
End If
7574
End Function

templates/Uwp/Pages/Map.Prism/ViewModels/MapPageViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public MapPageViewModel(ILocationService locationServiceInstance)
6565
ZoomLevel = DefaultZoomLevel;
6666

6767
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
68-
MapServiceToken = string.Empty;
68+
// MapServiceToken = string.Empty;
6969
}
7070

7171
public override async void OnNavigatedTo(NavigatedToEventArgs e, Dictionary<string, object> viewModelState)

templates/Uwp/Pages/Map/ViewModels/MapPageViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ public async Task InitializeAsync(MapControl map)
7373
if (map != null)
7474
{
7575
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
76-
map.MapServiceToken = string.Empty;
77-
76+
// map.MapServiceToken = string.Empty;
7877
AddMapIcon(map, Center, "Map_YourLocation".GetLocalized());
7978
}
8079
}

templates/Uwp/Pages/MapVB/ViewModels/MapPageViewModel.vb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ Namespace ViewModels
6666

6767
If map IsNot Nothing Then
6868
' TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
69-
map.MapServiceToken = String.Empty
70-
69+
' map.MapServiceToken = String.Empty
7170
AddMapIcon(map, Center, "Map_YourLocation".GetLocalized())
7271
End If
7372
End Function

0 commit comments

Comments
 (0)