<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Loading web tiles with overloaded constructor in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/loading-web-tiles-with-overloaded-constructor/m-p/1131300#M10719</link>
    <description>&lt;P&gt;The ability to use tiled basemaps in a specific spatial reference system depends on those services being available in that spatial reference. ArcGIS basemaps are available in both Web Mercator and WGS 84:&lt;/P&gt;&lt;P&gt;&lt;A title="ArcGIS Online Basemaps" href="https://www.arcgis.com/home/group.html?id=702026e41f6641fb85da88efe79dc166#overview" target="_blank" rel="noopener"&gt;ArcGIS Online Basemaps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="World Basemaps (WGS84)" href="https://www.arcgis.com/home/group.html?id=4c790318395940c18a16e8acd721de25#overview" target="_blank" rel="noopener"&gt;World Basemaps (WGS84)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 18:14:05 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2022-01-06T18:14:05Z</dc:date>
    <item>
      <title>Loading web tiles with overloaded constructor</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/loading-web-tiles-with-overloaded-constructor/m-p/1129937#M10710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1-&amp;nbsp; I have been able to load web tiles by following this tutorial:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/web-tiled-layer/" target="_blank" rel="noopener"&gt;ArcGIS WebTiles&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- The default constructor, fetches and displays web tiles in WebMercator spatial reference.&lt;/P&gt;&lt;P&gt;3- As per my use case, I need to fetch and display these tiles in WGS 84 spatial reference, so that to avoid reprojection performance overhead (for my other rasters which I have in WGS84).&lt;/P&gt;&lt;P&gt;4- I have tried using the overloaded constructor, but to no avail. Can you guide me up on how to load the web tiles (link provided in arcgis tutorial) in WGS84?&lt;/P&gt;&lt;P&gt;I have tried using overloaded constructor like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string _templateUri = "https://stamen-tiles-{subdomain}.a.ssl.fastly.net/watercolor/{level}/{col}/{row}.jpg";

TileInfo tilesInfo= new TileInfo(96, TileImageFormat.Png, levelOfDetails, new MapPoint(-185, 85, SpatialReferences.WGS84), SpatialReferences.Wgs84, 256, 256);

WebTiledLayer myBaseLayer = new WebTiledLayer(_templateUri, tilesInfo, new Envelope(new MapPoint(-185, -85, SpatialReferences.WGS84),new MapPoint(185, 85, SpatialReferences.WGS84)));

Basemap layerBasemap = new Basemap(myBaseLayer);
Map myMap = new Map(layerBasemap);
MainMapView.Map = myMap;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing purposes,I have manually created levelOfDetails by this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;WebTiledLayer arcgisTutorialBaseLayer = new WebTiledLayer(_templateUri, _tiledLayerSubdomains);
List&amp;lt;LevelOfDetail&amp;gt; levelOfDetails = (List&amp;lt;LevelOfDetail&amp;gt;)arcgisTutorialBaseLayer.TileInfo.LevelsOfDetail;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jan 2022 17:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/loading-web-tiles-with-overloaded-constructor/m-p/1129937#M10710</guid>
      <dc:creator>TasawarAhmad</dc:creator>
      <dc:date>2022-01-01T17:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Loading web tiles with overloaded constructor</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/loading-web-tiles-with-overloaded-constructor/m-p/1131300#M10719</link>
      <description>&lt;P&gt;The ability to use tiled basemaps in a specific spatial reference system depends on those services being available in that spatial reference. ArcGIS basemaps are available in both Web Mercator and WGS 84:&lt;/P&gt;&lt;P&gt;&lt;A title="ArcGIS Online Basemaps" href="https://www.arcgis.com/home/group.html?id=702026e41f6641fb85da88efe79dc166#overview" target="_blank" rel="noopener"&gt;ArcGIS Online Basemaps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="World Basemaps (WGS84)" href="https://www.arcgis.com/home/group.html?id=4c790318395940c18a16e8acd721de25#overview" target="_blank" rel="noopener"&gt;World Basemaps (WGS84)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 18:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/loading-web-tiles-with-overloaded-constructor/m-p/1131300#M10719</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-01-06T18:14:05Z</dc:date>
    </item>
  </channel>
</rss>

