Skip to content

Commit

Permalink
Merge pull request #2233 from Microsoft/dev
Browse files Browse the repository at this point in the history
Sync from dev
  • Loading branch information
sibille committed May 4, 2018
2 parents 09424ca + 880abc8 commit 04c6b7e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
Expand Up @@ -82,8 +82,7 @@ protected override async void OnInitialize()
}

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

// MapServiceToken = string.Empty;
var view = GetView() as IMapPageView;

view?.AddMapIcon(Center, "Map_YourLocation".GetLocalized());
Expand Down
3 changes: 1 addition & 2 deletions templates/Uwp/Pages/Map.CodeBehind/Views/MapPagePage.xaml.cs
Expand Up @@ -74,8 +74,7 @@ public async Task InitializeAsync()
if (mapControl != null)
{
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
mapControl.MapServiceToken = string.Empty;

// mapControl.MapServiceToken = string.Empty;
AddMapIcon(Center, "Map_YourLocation".GetLocalized());
}
}
Expand Down
Expand Up @@ -68,8 +68,7 @@ Namespace Views

If mapControl IsNot Nothing Then
' TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
mapControl.MapServiceToken = String.Empty

' mapControl.MapServiceToken = String.Empty
AddMapIcon(Center, "Map_YourLocation".GetLocalized())
End If
End Function
Expand Down
Expand Up @@ -65,7 +65,7 @@ public MapPageViewModel(ILocationService locationServiceInstance)
ZoomLevel = DefaultZoomLevel;

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

public override async void OnNavigatedTo(NavigatedToEventArgs e, Dictionary<string, object> viewModelState)
Expand Down
3 changes: 1 addition & 2 deletions templates/Uwp/Pages/Map/ViewModels/MapPageViewModel.cs
Expand Up @@ -73,8 +73,7 @@ public async Task InitializeAsync(MapControl map)
if (map != null)
{
// TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
map.MapServiceToken = string.Empty;

// map.MapServiceToken = string.Empty;
AddMapIcon(map, Center, "Map_YourLocation".GetLocalized());
}
}
Expand Down
3 changes: 1 addition & 2 deletions templates/Uwp/Pages/MapVB/ViewModels/MapPageViewModel.vb
Expand Up @@ -66,8 +66,7 @@ Namespace ViewModels

If map IsNot Nothing Then
' TODO WTS: Set your map service token. If you don't have one, request from https://www.bingmapsportal.com/
map.MapServiceToken = String.Empty

' map.MapServiceToken = String.Empty
AddMapIcon(map, Center, "Map_YourLocation".GetLocalized())
End If
End Function
Expand Down

0 comments on commit 04c6b7e

Please sign in to comment.