Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ namespace ArcGIS.Samples.ShowLocationHistory
tags: new[] { "GPS", "bread crumb", "breadcrumb", "history", "movement", "navigation", "real-time", "trace", "track", "trail" })]
public partial class ShowLocationHistory : ContentPage, IDisposable
{
// URL to the raster dark gray canvas basemap.
private const string BasemapUrl = "https://www.arcgis.com/home/item.html?id=1970c1995b8f44749f4b9b6e81b5ba45";

// Track whether location tracking is enabled.
private bool _isTrackingEnabled;

Expand Down Expand Up @@ -56,7 +53,7 @@ public ShowLocationHistory()
private void Initialize()
{
// Create new Map with basemap.
Map myMap = new Map(new Uri(BasemapUrl));
Map myMap = new Map(BasemapStyle.ArcGISDarkGray);

// Display the map.
MyMapView.Map = myMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void Initialize()
}

// Create the scene.
MySceneView.Scene = new Scene(new Basemap(new Uri("https://www.arcgis.com/home/item.html?id=1970c1995b8f44749f4b9b6e81b5ba45")));
MySceneView.Scene = new Scene(BasemapStyle.ArcGISDarkGray);

// Create an envelope for the imagery.
var pointForFrame = new MapPoint(-120.0724273439448, 35.131016955536694, SpatialReferences.Wgs84);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private async Task Initialize()
}

// Create the scene.
MySceneView.Scene = new Scene(new Basemap(new Uri("https://www.arcgis.com/home/item.html?id=1970c1995b8f44749f4b9b6e81b5ba45")));
MySceneView.Scene = new Scene(BasemapStyle.ArcGISDarkGray);

// Create an envelope for the imagery.
var pointForFrame = new MapPoint(-120.0724273439448, 35.131016955536694, SpatialReferences.Wgs84);
Expand Down
Loading