<?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: MMPK MinScale weirdness in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045633#M9982</link>
    <description>&lt;P&gt;Behavior works as advertised. Thanks Mark.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 23:28:57 GMT</pubDate>
    <dc:creator>JeffSiemens</dc:creator>
    <dc:date>2021-04-09T23:28:57Z</dc:date>
    <item>
      <title>MMPK MinScale weirdness</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045585#M9979</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have found that when loading an mmpk, the MinScale for the map is derived from the most restrictive layer. For example, if I have a map with 3 layers, with MinScales: 1:5,000, 1:24,000, and 1:0 (no scale restrictions), then the map gets a MinScale of 1:5,000.&amp;nbsp; So then the MapView locks the user from zooming out beyond 1:5,000. MinScale indicates how far you can 'zoom out' before the layer disappears, so I would expect that in this case the MinScale of the map should be 0 (no scale restriction), since there is at least one layer visible at all scale ranges. I'm just guessing, but it appears that perhaps the Runtime is perhaps attempting to prevent the user from zooming out to a scale where no layer is visible? But if so, the logic seems to have been inverted. It works as expected for a webmap.&lt;/P&gt;&lt;P&gt;Here is an mmpk that can be used to test:&lt;/P&gt;&lt;P&gt;&lt;A href="https://latitudegeo.maps.arcgis.com/home/item.html?id=9c03b622bff54de9a6fedae8a99df0f0" target="_blank"&gt;https://latitudegeo.maps.arcgis.com/home/item.html?id=9c03b622bff54de9a6fedae8a99df0f0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It contains 3 layers with the minscales mentioned above, 5000, 24000, and 0. The Map comes out with a MinScale of 5000.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 20:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045585#M9979</guid>
      <dc:creator>JeffSiemens</dc:creator>
      <dc:date>2021-04-09T20:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: MMPK MinScale weirdness</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045613#M9981</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The runtime actually&amp;nbsp; initializes this behavior&amp;nbsp; (sets min scale / max scale &lt;A href="https://developers.arcgis.com/net/wpf/sample-code/set-min-max-scale/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/set-min-max-scale/&lt;/A&gt;) based on the first layer that it loads, which is typically the last layer in the map.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkBockenhauer_0-1618005561659.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10540iCAF0649A23A44D9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkBockenhauer_0-1618005561659.png" alt="MarkBockenhauer_0-1618005561659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a map creator you can get around this by ensuring that the "bottom layer" is visible at all scales.&lt;/P&gt;&lt;P&gt;Or as a runtime developer explicitly set the min and max scale.&lt;/P&gt;&lt;P&gt;With regard to your comment about the webmap working, I suspect you have a basemap that is visible at all scales?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 22:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045613#M9981</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2021-04-09T22:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: MMPK MinScale weirdness</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045633#M9982</link>
      <description>&lt;P&gt;Behavior works as advertised. Thanks Mark.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 23:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mmpk-minscale-weirdness/m-p/1045633#M9982</guid>
      <dc:creator>JeffSiemens</dc:creator>
      <dc:date>2021-04-09T23:28:57Z</dc:date>
    </item>
  </channel>
</rss>

