<?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: Set max envelope in 100 SDK for Android  in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70905#M503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equivalent in the Android 10.x SDK seem to be setMaxExtent(),&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#setMaxExtent(com.esri.core.geometry.Envelope)" title="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#setMaxExtent(com.esri.core.geometry.Envelope)"&gt;MapView | ArcGIS Android 10.2.9 API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any suggestions how to implement such logic your self until this&amp;nbsp;method is added to the 100 SDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 May 2017 00:12:22 GMT</pubDate>
    <dc:creator>EmilLöfblom</dc:creator>
    <dc:date>2017-05-06T00:12:22Z</dc:date>
    <item>
      <title>Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70903#M501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the "old" SDK for iOS and probably also for Android you're able to set a max envelop on the map view to&amp;nbsp;define a panning area for the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that in the 100 SDK for Android? Can't find any method like that in the MapView class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 14:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70903#M501</guid>
      <dc:creator>EmilLöfblom</dc:creator>
      <dc:date>2017-05-05T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70904#M502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not find this either in the current SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would encourage you to log an enhancement request with your local esri distributor asking for the setMaxExtent() method to be brought back to the MapView class. &amp;nbsp;This will give you a public tracking number which can then be used to check on the status of the enhancement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 15:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70904#M502</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-05T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70905#M503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equivalent in the Android 10.x SDK seem to be setMaxExtent(),&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#setMaxExtent(com.esri.core.geometry.Envelope)" title="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#setMaxExtent(com.esri.core.geometry.Envelope)"&gt;MapView | ArcGIS Android 10.2.9 API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any suggestions how to implement such logic your self until this&amp;nbsp;method is added to the 100 SDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2017 00:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70905#M503</guid>
      <dc:creator>EmilLöfblom</dc:creator>
      <dc:date>2017-05-06T00:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70906#M504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/172973"&gt;Emil Löfblom&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is more of a hack until it is ready, but what you could do is implement a&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/GeoView.html#addViewpointChangedListener(com.esri.arcgisruntime.mapping.view.ViewpointChangedListener)" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/GeoView.html#addViewpointChangedListener(com.esri.arcgisruntime.mapping.view.ViewpointChangedListener)"&gt;GeoView| arcgis-android&lt;/A&gt;&amp;nbsp; &lt;SPAN class="" style="color: #333333; font-size: 11.7px; margin-right: 2px;"&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/GeoView.html#addViewpointChangedListener(com.esri.arcgisruntime.mapping.view.ViewpointChangedListener)" style="color: #006699; text-decoration: none;"&gt;addViewpointChangedListener&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f6f6f6; font-size: 11.7px;"&gt;(&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/ViewpointChangedListener.html" style="color: #006699; text-decoration: none; font-size: 11.7px;"&gt;ViewpointChangedListener&lt;/A&gt;&lt;SPAN style="color: #333333; background-color: #f6f6f6; font-size: 11.7px;"&gt; listener) and when the viewpoint changes, check the extent of the mapView. &amp;nbsp;If the extent is outside what you want, then add&amp;nbsp;&lt;SPAN class="" style="background-color: #ffffff; margin-right: 2px;"&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/MapView.html#setViewpointGeometryAsync(com.esri.arcgisruntime.geometry.Geometry)" style="color: #006699; text-decoration: none;"&gt;setViewpointGeometryAsync&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/geometry/Geometry.html" style="color: #006699; background-color: #ffffff; text-decoration: none;"&gt;Geometry&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt; boundingGeometry)&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/MapView.html#setViewpointGeometryAsync(com.esri.arcgisruntime.geometry.Geometry)" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/MapView.html#setViewpointGeometryAsync(com.esri.arcgisruntime.geometry.Geometry)"&gt;MapView| arcgis-android&lt;/A&gt;&amp;nbsp;&amp;nbsp;to zoom back to the extent you want. &amp;nbsp;It won't stop people from panning outside the map extent, but when they do, they will automatically be panned back to the extent you wish to keep them in.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 11.7px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 11.7px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 11.7px;"&gt;Alexander&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 13:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70906#M504</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-08T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70907#M505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion. That is actually what we have in place now, but it's not very pretty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About logging an enhancement at my local ESRI &lt;SPAN&gt;distributor&lt;/SPAN&gt;. Will it be sufficient to just create and idea in "ArcGIS Ideas"or is it better to contact the distributor, even though we don't have a support agreement in place?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 10:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70907#M505</guid>
      <dc:creator>EmilLöfblom</dc:creator>
      <dc:date>2017-05-09T10:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70908#M506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logging an enhancement on the ideas site should be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 13:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70908#M506</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-09T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70909#M507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great news &lt;A href="https://community.esri.com/migrated-users/172973"&gt;Emil Löfblom&lt;/A&gt;‌! &amp;nbsp;It looks as though there is an existing enhancement request logged with ESRI for this issue. &amp;nbsp;The defect is: &lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;ENH-000104889 -&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.36px;"&gt;Add a method to set the maximum extent of the map to Android Runtime 100.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.36px;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 12:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70909#M507</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-10T12:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70910#M508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 100% agree that Max Extent is really important capability to have.&amp;nbsp; I still do not see this&amp;nbsp;in 100.2.1.&amp;nbsp; Is there any possibility this will be in the upcoming 100.2.2??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70910#M508</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-17T20:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70911#M509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the workaround... being a newbie to arcgis's android&amp;nbsp;API I'm struggling with getting this implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I compare my mapview's envelope with those from the GeoView?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to add the viewpointChangedListener and get a reference to the geoView from via "&lt;SPAN style="color: #808080;"&gt;viewpointChangedEvent.getSource()&lt;/SPAN&gt;". I tried "(&lt;SPAN style="color: #808080;"&gt;viewpointChangedEvent.getSource()&lt;/SPAN&gt;)&lt;SPAN style="color: #808080;"&gt;.getTargetGeometry().getExtent()&lt;/SPAN&gt;", but sometimes I get a null pointer exception on the target geometry object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, I'm not really sure how to get my MapView&amp;nbsp;and/or ArcGisMap's full envelope. What I'm looking for is the full extents of my map, which is a relatively small geographic area (think smaller than a zip code). Note: my maps are being loaded locally from mobile map (mmpk) and/or tile package (tpk) for strict offline usage. For now I know what max/min lat lons border my map are so I can hardcode those extents, but I'm not even sure how to create an envelope from lat lons vs x/y. So my other questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How to I create my MapView's envelope from lat/lons vs x/y? or...&lt;/LI&gt;&lt;LI&gt;(not exactly sure of the proper terminology) how can I programmatically obtain my MapView's (and/or underlying ArcGisMap) full visual extents i.e., Not just what's shown onscreen, but the full width and height of the map loaded from the mobile map/tile package.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 23:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70911#M509</guid>
      <dc:creator>CharlesLoftis</dc:creator>
      <dc:date>2018-05-01T23:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70912#M510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also wondering how you even get the full extent of a mapview?&amp;nbsp; I do not want the currently visible extent, but the entire extent.&amp;nbsp; This does not seem easily obtainable.&amp;nbsp; Have been looking through the samples and don't see any evidence that there is a way to do it.&amp;nbsp; In the old SDK there was a very easy method (MapView.getExtent()).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 17:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70912#M510</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-09-27T17:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70913#M511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well answered my own question above regarding getting current extent of a map view in 100.4.&amp;nbsp; Kind of convoluted and not well documented.&amp;nbsp; Hope this helps others...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Viewpoint vp = &lt;SPAN style="color: #660e7a;"&gt;mMapView&lt;/SPAN&gt;.getCurrentViewpoint(Viewpoint.Type.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;BOUNDING_GEOMETRY&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a;"&gt;Geometry extent &lt;/SPAN&gt;= vp.getTargetGeometry();&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70913#M511</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70914#M512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any news on enhancement:&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;ENH-000104889.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Do you have any timeline when it will be released?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2019 17:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70914#M512</guid>
      <dc:creator>EmilLöfblom</dc:creator>
      <dc:date>2019-10-20T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set max envelope in 100 SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70915#M513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too am hoping this makes it into the runtime.&amp;nbsp; In the meantime this hack as per Alex's suggestion is working pretty well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #660e7a;"&gt;mMapView&lt;/SPAN&gt;.addViewpointChangedListener(viewpointChangedEvent -&amp;gt; {
   &lt;SPAN style="color: #000080; font-weight: bold;"&gt;try &lt;/SPAN&gt;{
      Viewpoint vp = &lt;SPAN style="color: #660e7a;"&gt;mMapView&lt;/SPAN&gt;.getCurrentViewpoint(Viewpoint.Type.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;BOUNDING_GEOMETRY&lt;/SPAN&gt;);
      Geometry curExtent = vp.getTargetGeometry();
      &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if&lt;/SPAN&gt;(curExtent!=&lt;SPAN style="color: #000080; font-weight: bold;"&gt;null&lt;/SPAN&gt;) {
         LinearUnit miles = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;LinearUnit(LinearUnitId.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;MILES&lt;/SPAN&gt;);
         Geometry expandedMapExtent = GeometryEngine.&lt;SPAN&gt;bufferGeodetic&lt;/SPAN&gt;(curExtent, &lt;SPAN style="color: #0000ff;"&gt;0.5&lt;/SPAN&gt;, miles, Double.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;NaN&lt;/SPAN&gt;, GeodeticCurveType.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;GEODESIC&lt;/SPAN&gt;);
         &lt;SPAN style="color: #000080; font-weight: bold;"&gt;boolean &lt;/SPAN&gt;intersectsGDB = GeometryEngine.&lt;SPAN&gt;intersects&lt;/SPAN&gt;(expandedMapExtent, &lt;SPAN style="color: #660e7a;"&gt;s1Map&lt;/SPAN&gt;.getBasemap().getBaseLayers().get(&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;).getFullExtent());
         &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;(!intersectsGDB) {
            &lt;SPAN style="color: #660e7a;"&gt;mMapView&lt;/SPAN&gt;.setViewpointCenterAsync(&lt;SPAN style="color: #660e7a;"&gt;s1Map&lt;/SPAN&gt;.getBasemap().getBaseLayers().get(&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;).getFullExtent().getCenter());
            &lt;SPAN style="color: #660e7a;"&gt;mMapView&lt;/SPAN&gt;.setViewpointGeometryAsync(&lt;SPAN style="color: #660e7a;"&gt;s1Map&lt;/SPAN&gt;.getBasemap().getBaseLayers().get(&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;).getFullExtent());
         }
      }
   } &lt;SPAN style="color: #000080; font-weight: bold;"&gt;catch &lt;/SPAN&gt;(Exception e) {
      e.printStackTrace();
   }
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/set-max-envelope-in-100-sdk-for-android/m-p/70915#M513</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T22:43:33Z</dc:date>
    </item>
  </channel>
</rss>

