<?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: Upgrading from 3 to 4: TiledMapServiceLayer (how to)? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-from-3-to-4-tiledmapservicelayer-how-to/m-p/1394205#M83944</link>
    <description>&lt;P&gt;This is what I did with my tiled aerials. They are hosted in AGOL. Not sure if it will help but...&lt;/P&gt;&lt;P&gt;using 4.29&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"esri/layers/TileLayer"
......

var latestAerialLayer = new TileLayer({
  url: "https://tiles.arcgis.com/tiles//arcgis/rest/services/FDOT23_Aerials/MapServer",
  id: "latestAerial",
  visible: "true",
  listMode: "hide-children"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 16:36:37 GMT</pubDate>
    <dc:creator>MichaelKohler</dc:creator>
    <dc:date>2024-03-11T16:36:37Z</dc:date>
    <item>
      <title>Upgrading from 3 to 4: TiledMapServiceLayer (how to)?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-from-3-to-4-tiledmapservicelayer-how-to/m-p/1393465#M83925</link>
      <description>&lt;P&gt;I have a layer on version 3 displaying parcels outline.&lt;/P&gt;&lt;P&gt;It's using a dojo.declare esri.layers.WebTileLayer class using an esri.layers.TileMapServiceLayer with a constructor that has all the information (extent, lods,tileinfo, copyright, getTileUrl() function to get the tile from the level,row,col ...&lt;BR /&gt;to set the layer I use the declared esri.layers.WebTileLayer with the url to the service (has &lt;A href="https://host/getMap.aspx" target="_blank"&gt;https://host/getMap.aspx&lt;/A&gt; and some parameters including the layers and styles and last parameter is tileId= )&lt;/P&gt;&lt;P&gt;it ends up requesting and displaying on the map view something like:&lt;BR /&gt;tile url:&amp;nbsp; &lt;A href="https://host/GetMap.aspx?S=yy&amp;amp;layers=parcels,Pro&amp;amp;SLD=Parcels.sld.xml,Address.sld.xml&amp;amp;tileId=032001003310221210" target="_blank"&gt;https://host/GetMap.aspx?S=yy&amp;amp;layers=parcels,Pro&amp;amp;SLD=Parcels.sld.xml,Address.sld.xml&amp;amp;tileId=032001003310221210&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since TileMapServiceLayer is gone on version 4 I wonder how to replace it (if possible) and what actual type of layer will do it (all points to WebTileLayer on version 4 but cannot figure how to). Any help will be AMAZING!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 21:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-from-3-to-4-tiledmapservicelayer-how-to/m-p/1393465#M83925</guid>
      <dc:creator>WalterEra63</dc:creator>
      <dc:date>2024-03-08T21:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading from 3 to 4: TiledMapServiceLayer (how to)?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-from-3-to-4-tiledmapservicelayer-how-to/m-p/1394205#M83944</link>
      <description>&lt;P&gt;This is what I did with my tiled aerials. They are hosted in AGOL. Not sure if it will help but...&lt;/P&gt;&lt;P&gt;using 4.29&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"esri/layers/TileLayer"
......

var latestAerialLayer = new TileLayer({
  url: "https://tiles.arcgis.com/tiles//arcgis/rest/services/FDOT23_Aerials/MapServer",
  id: "latestAerial",
  visible: "true",
  listMode: "hide-children"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 16:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-from-3-to-4-tiledmapservicelayer-how-to/m-p/1394205#M83944</guid>
      <dc:creator>MichaelKohler</dc:creator>
      <dc:date>2024-03-11T16:36:37Z</dc:date>
    </item>
  </channel>
</rss>

