<?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: JS API 4.x: add Levels of Detail to MapView? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/1032313#M71907</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;How do we set LOD's specifically for Feature Layers?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 04:53:45 GMT</pubDate>
    <dc:creator>manariietches</dc:creator>
    <dc:date>2021-03-03T04:53:45Z</dc:date>
    <item>
      <title>JS API 4.x: add Levels of Detail to MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/326065#M30059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community, Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add Levels of Detail (LODs) to a MapView, using the ArcGIS API for JavaScript 4.x?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a little map showing aerial imagery of the Dutch railway network: &lt;A href="https://twiav.nl/cursus/arcgis/javascript/cursus_arcgis_javascript_wmslayer_toevoegen.htm?x=135908&amp;amp;y=455938&amp;amp;n=16"&gt;https://twiav.nl/cursus/arcgis/javascript/cursus_arcgis_javascript_wmslayer_toevoegen.htm?x=135908&amp;amp;y=455938&amp;amp;n=16 &lt;/A&gt;(it will not be possible to zoom in any further from this point...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The max zoom level in this map is 16. This is decided for by the basemap used (in this case: &lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=7aea6fa913a94176a1074edb40690318" title="https://www.arcgis.com/home/item.html?id=7aea6fa913a94176a1074edb40690318"&gt;https://www.arcgis.com/home/item.html?id=7aea6fa913a94176a1074edb40690318&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quality of the imagery, however, would allow zooming in a little further into the assets along the railroad track, i.e. a level 17, 18, 19, 20 and 21 would be welcome. &lt;STRONG&gt;So, the questions is: how to add these additional LODs manually, if possible?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In comparison: I have created a similar map (using Leaflet) where I managed to add these additional levels irrespective of the limitations given by the basemaps used:&amp;nbsp;&lt;A class="jivelink2" href="https://twiav.nl/nl/luchtfoto_prorail.php#19/52.09136/5.10865" title="https://twiav.nl/nl/luchtfoto_prorail.php#19/52.09136/5.10865"&gt;https://twiav.nl/nl/luchtfoto_prorail.php#19/52.09136/5.10865 &lt;/A&gt;(this is more or less the same location, but now at zoom level 19, with 2 more levels to zoom in still available).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insights?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 17:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/326065#M30059</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-06-30T17:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.x: add Levels of Detail to MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/1001465#M70813</link>
      <description>&lt;P&gt;I was abled to add custom LODs using the MapView 'constraint' property.&amp;nbsp; &amp;nbsp;The LODs[] can be autocast using JSON similar to what is found for lod property in the REST API for a basemap service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;view.constraints = {&lt;BR /&gt;lods: [&lt;BR /&gt;{&lt;BR /&gt;level: 0,&lt;BR /&gt;resolution: 156543.03392800014,&lt;BR /&gt;scale: 5.91657527591555E8&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;level: 1,&lt;BR /&gt;resolution: 78271.51696399994,&lt;BR /&gt;scale: 2.95828763795777E8&lt;BR /&gt;} ......&lt;/P&gt;&lt;P&gt;]};&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 22:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/1001465#M70813</guid>
      <dc:creator>StephenSporik1</dc:creator>
      <dc:date>2020-11-13T22:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.x: add Levels of Detail to MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/1032313#M71907</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;How do we set LOD's specifically for Feature Layers?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 04:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-add-levels-of-detail-to-mapview/m-p/1032313#M71907</guid>
      <dc:creator>manariietches</dc:creator>
      <dc:date>2021-03-03T04:53:45Z</dc:date>
    </item>
  </channel>
</rss>

