<?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: AGSMapView replacement for maxEnvelope in version 100.0 in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588161#M5112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdelrahman,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Maybe you can try to disable the mapView zoom when the mapview scale level change to a certain level as a workaround.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_interaction_options.html#a739426596ed910452859b161fb543a34" title="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_interaction_options.html#a739426596ed910452859b161fb543a34"&gt;ArcGIS Runtime SDK for iOS: AGSMapViewInteractionOptions Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 19:57:24 GMT</pubDate>
    <dc:creator>YueWu1</dc:creator>
    <dc:date>2016-11-30T19:57:24Z</dc:date>
    <item>
      <title>AGSMapView replacement for maxEnvelope in version 100.0</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588160#M5111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i used the 10.2.5 version of the ArcGIS framework, i could write the following code to limit the maximum zoom out of&amp;nbsp;the map view :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;localMapView.maxEnvelope = [AGSEnvelope envelopeWithXmin:XMIN ymin:YMIN xmax:XMAX ymax:YMAX spatialReference:localMapView.spatialReference] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wonder what is the replacement of the &lt;SPAN&gt;maxEnvelope property&amp;nbsp;on the 100.0 version, and how it can be used?&lt;BR /&gt;i noticed there is a "&lt;/SPAN&gt;&lt;SPAN class=""&gt;visibleArea" property but it is readonly, so any help would be appreciated . &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588160#M5111</guid>
      <dc:creator>AbdelrahmanBadary</dc:creator>
      <dc:date>2016-11-30T14:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: AGSMapView replacement for maxEnvelope in version 100.0</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588161#M5112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdelrahman,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Maybe you can try to disable the mapView zoom when the mapview scale level change to a certain level as a workaround.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_interaction_options.html#a739426596ed910452859b161fb543a34" title="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_interaction_options.html#a739426596ed910452859b161fb543a34"&gt;ArcGIS Runtime SDK for iOS: AGSMapViewInteractionOptions Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 19:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588161#M5112</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2016-11-30T19:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGSMapView replacement for maxEnvelope in version 100.0</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588162#M5113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn't a direct replacement at this time unfortunately. We hope to have something similar in a future release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, you could set a min/max scale on the map to prevent the mapview from zooming in or out too far, but this won't limit the area the user could pan to. &amp;nbsp;You could try listening to changes to the mapview's viewpoint or visibleArea, and then reset the viewpoint back to your maxEnevelope if the user pans out of it, but it may not provide the best U/X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 22:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapview-replacement-for-maxenvelope-in-version/m-p/588162#M5113</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2016-11-30T22:06:07Z</dc:date>
    </item>
  </channel>
</rss>

