<?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: Update lods at runtime in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227837#M21264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think when it comes to how far in you can zoom, you rely on the basemap. What exactly would you like to do with the zoom levels?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 15:09:32 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2015-05-14T15:09:32Z</dc:date>
    <item>
      <title>Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227836#M21263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to update the lods for the map at runtime?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basemap gallery has different maps with different levels of detail.&amp;nbsp; For example it is possible to zoom in as close on Dark and Light Gray canvas maps down to 1:9028 but on the topo maps you can zoom to 1:1128.&amp;nbsp; It would be nice to change the possible zoom levels on the map in the "selection-change" event of the basemap gallery.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemapGallery.on("selection-change", function (msg) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //change the levels of detail for the map here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227836#M21263</guid>
      <dc:creator>RichardWinkelbauer</dc:creator>
      <dc:date>2015-05-14T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227837#M21264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think when it comes to how far in you can zoom, you rely on the basemap. What exactly would you like to do with the zoom levels?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227837#M21264</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-05-14T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227838#M21265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't know if adding LODs at runtime is possible but in your use case you just need to add the extra lods at configuration time that your default basemap does not include.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227838#M21265</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-14T15:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227839#M21266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to limit the zoom levels to those that are actually available when a user toggles between different basemaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am setting the LODs at runtime to contain all of the possible lods for all of the basemaps.&amp;nbsp; What I would like to do is limit the LODs when a user selects a basemap that doesn't support all of the lods.&amp;nbsp;&amp;nbsp; I don't want the user to be able to zoom in further than a particular basemap will allow but I don't want to limit users if the basemap does have additional levels of detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227839#M21266</guid>
      <dc:creator>RichardWinkelbauer</dc:creator>
      <dc:date>2015-05-14T15:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227840#M21267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought each basemap dictates how far you can zoom in. So there shouldn't be an issue with users zooming in too far?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227840#M21267</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-05-14T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227841#M21268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that doesn't seem to be the way it works.&amp;nbsp; The possible zoom levels for the map are set based on the initial base map.&amp;nbsp;&amp;nbsp; So if you switch to a basemap with fewer zoom levels you are able to zoom in beyond what is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked the sample code for the widget (to make sure I didn't have something going on specific to my code) and it works the same way.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_basemap" title="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_basemap"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 17:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227841#M21268</guid>
      <dc:creator>RichardWinkelbauer</dc:creator>
      <dc:date>2015-05-14T17:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227842#M21269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you set it up for when it zooms in past the a base map that does not display on that scale (such as Dark Grey Canvas) the basemap switch to another one so that their is never a blank screen? Then it could switch back when you zoom back out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227842#M21269</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-05-14T18:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update lods at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227843#M21270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While not ideal.&amp;nbsp; This is what I eventually went with.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all of the responses!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 22:10:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-lods-at-runtime/m-p/227843#M21270</guid>
      <dc:creator>RichardWinkelbauer</dc:creator>
      <dc:date>2015-05-28T22:10:01Z</dc:date>
    </item>
  </channel>
</rss>

