Skip to content

Commit

Permalink
private use for esri (propery not used yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
xfischer committed May 16, 2020
1 parent f4d0a0a commit 29919db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions DEM.Net.Core/Model/Imagery/ImageryProviders.Predefined.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ public partial class ImageryProvider
UrlModel = new UrlModel("https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", new[] { "a", "b", "c" }),
MaxZoom = 17
};
//public static ImageryProvider EsriWorldImagery = new ImageryProvider()
//{
// Name = "Esri.WorldImagery",
// Attribution = new Attribution(ATTRIBUTION_SUBJECT, "Esri World Imagery", "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", "Source: Esri, DigitalGlobe, GeoEye, Earthstar Geographics, CNES/Airbus DS, USDA, USGS, AeroGRID, IGN, and the GIS User Community"),
// UrlModel = new UrlModel("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", null),
// MaxZoom = 18
//};
public static ImageryProvider EsriWorldImagery = new ImageryProvider()
{
Name = "Esri.WorldImagery",
Attribution = new Attribution(ATTRIBUTION_SUBJECT, "Esri World Imagery", "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", "Source: Esri, DigitalGlobe, GeoEye, Earthstar Geographics, CNES/Airbus DS, USDA, USGS, AeroGRID, IGN, and the GIS User Community"),
UrlModel = new UrlModel("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", null),
MaxZoom = 18,
PrivateUseOnly = true
};
public static ImageryProvider ThunderForestOutdoors = new ImageryProvider()
{
Name = "ThunderForest-Outdoors",
Expand Down
1 change: 1 addition & 0 deletions DEM.Net.Core/Model/Imagery/ImageryProviders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public partial class ImageryProvider
public int TileSize { get; set; } = 256;
public int MaxDegreeOfParallelism { get; set; } = 4;
public int MaxZoom { get; set; } = 19;
public bool PrivateUseOnly { get; set; } = false;

public override string ToString()
{
Expand Down

0 comments on commit 29919db

Please sign in to comment.