<?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: Fractional Zoom in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040909#M72221</link>
    <description>&lt;P&gt;Hi JeffreyWilkerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input! I had looked at this before, but had no success for fractional&amp;nbsp;zooming. I appreciate your response!&lt;/P&gt;</description>
    <pubDate>Fri, 26 Mar 2021 01:24:39 GMT</pubDate>
    <dc:creator>Cloud7575</dc:creator>
    <dc:date>2021-03-26T01:24:39Z</dc:date>
    <item>
      <title>Fractional Zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040714#M72206</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a map application using the ArcGIS API for JS v4.x. I need to be able to zoom between zoom levels, fractional zoom, similar to fractional zoom in other products like Leaflet. If the user is currently on zoom level 12 and they click or scroll to zoom in, the next zoom level would be 12.5 instead of 13. I appreciate any help or guidance on this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 18:04:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040714#M72206</guid>
      <dc:creator>Cloud7575</dc:creator>
      <dc:date>2021-03-25T18:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fractional Zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040724#M72207</link>
      <description>&lt;P&gt;In the JS 3.x, we used to set the LODs in the map creation.&amp;nbsp; The LODs looking like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var mapLods = [
    {"level" : 0, "resolution" : 156543.033928, "scale" : 591657527.591555}, 
    {"level" : 1, "resolution" : 78271.5169639999, "scale" : 295828763.795777}, 
    {"level" : 2, "resolution" : 39135.7584820001, "scale" : 147914381.897889}, 
    {"level" : 3, "resolution" : 19567.8792409999, "scale" : 73957190.948944}, 
    {"level" : 4, "resolution" : 9783.93962049996, "scale" : 36978595.474472}, 
    {"level" : 5, "resolution" : 4891.96981024998, "scale" : 18489297.737236}, 
    {"level" : 6, "resolution" : 2445.98490512499, "scale" : 9244648.868618}, 
    {"level" : 7, "resolution" : 1222.99245256249, "scale" : 4622324.434309}, 
    {"level" : 8, "resolution" : 611.49622628138, "scale" : 2311162.217155}, 
    {"level" : 9, "resolution" : 305.748113140558, "scale" : 1155581.108577}, 
    {"level" : 10, "resolution" : 152.874056570411, "scale" : 577790.554289}, 
    {"level" : 11, "resolution" : 76.4370282850732, "scale" : 288895.277144}, 
    {"level" : 12, "resolution" : 38.2185141425366, "scale" : 144447.638572}, 
    {"level" : 13, "resolution" : 19.1092570712683, "scale" : 72223.819286}, 
    {"level" : 14, "resolution" : 9.55462853563415, "scale" : 36111.909643}, 
    {"level" : 15, "resolution" : 4.77731426794937, "scale" : 18055.954822}, 
    {"level" : 16, "resolution" : 2.38865713397468, "scale" : 9027.977411}, 
    {"level" : 17, "resolution" : 1.19432856685505, "scale" : 4513.988705}, 
    {"level" : 18, "resolution" : 0.597164283559817, "scale" : 2256.994353}, 
    {"level" : 19, "resolution" : 0.298582141647617, "scale" : 1128.497176},
    {"level" : 20, "resolution" : 0.149291070823808, "scale" :  564.248588}, 
    {"level" : 21, "resolution" : 0.074645535411904, "scale" :  282.124294}
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the JS API 4.x MapView (&lt;A title="Constraints Page" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" target="_blank" rel="noopener"&gt;Constraints&lt;/A&gt;&amp;nbsp;), the Constraints property does have a possibility for setting 'lods'.&amp;nbsp; I've never tried it at 4.x but I'd be interested to know if it works. By setting the level of details you would still be selecting the zoom level at whole numbers, but with the resolution set by the LODs themselves.&amp;nbsp; We used to do it to get finer resolution ability, especially when using aerial photography, but a lot of Esri basemaps won't display at the finer resolutions.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 18:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040724#M72207</guid>
      <dc:creator>JeffreyWilkerson</dc:creator>
      <dc:date>2021-03-25T18:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fractional Zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040728#M72209</link>
      <description>&lt;P&gt;You can set&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" target="_self" rel="nofollow noopener noreferrer"&gt;MapView.constraints.snapToZoom&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to false - this will create a continuous zoom instead of snapping to the next LOD.&lt;/P&gt;&lt;P&gt;You can see an example of this in use in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/views-synchronize/" target="_self" rel="nofollow noopener noreferrer"&gt;this sample&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 18:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040728#M72209</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-03-25T18:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fractional Zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040909#M72221</link>
      <description>&lt;P&gt;Hi JeffreyWilkerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input! I had looked at this before, but had no success for fractional&amp;nbsp;zooming. I appreciate your response!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 01:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040909#M72221</guid>
      <dc:creator>Cloud7575</dc:creator>
      <dc:date>2021-03-26T01:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fractional Zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040910#M72222</link>
      <description>&lt;P&gt;Hi&amp;nbsp;AnneFitz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, this is exactly what I was looking for! I am now able to fractional zoom on my map. I appreciate all of your help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 01:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fractional-zoom/m-p/1040910#M72222</guid>
      <dc:creator>Cloud7575</dc:creator>
      <dc:date>2021-03-26T01:34:17Z</dc:date>
    </item>
  </channel>
</rss>

