<?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: Map Scale Issue in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356531#M2324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gunther,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I double the size of the container in which my mapView resides, and then reset the viewpoint using this technique, will the size of the map double in size on the screen? This is the functionality I am trying to achieve. Additionally, does this Viewpoint functionality work on older versions of the library such as 10.3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Blake Edwards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 11:42:37 GMT</pubDate>
    <dc:creator>BlakeEdwards</dc:creator>
    <dc:date>2019-07-03T11:42:37Z</dc:date>
    <item>
      <title>Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356529#M2322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to re-scale the view element that holds my ArcGIS map in my android app. &amp;nbsp;However, when I set the scale of the map you element to half-size, the map within the view element does not scale along with it. How do I get the map drawn in this view to scale with the parent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 16:44:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356529#M2322</guid>
      <dc:creator>BlakeEdwards</dc:creator>
      <dc:date>2019-07-02T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356530#M2323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have observed, the MapView's resize behaviour preserves the current scale, not the current visible extent of the map. We currently don't provide a way to toggle that behaviour. What you could try is to capture your current Viewpoint before the view is being resized:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Viewpoint currentViewpoint = mapView.getCurrentViewpoint(Viewpoint.Type.BOUNDING_GEOMETRY);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, during or at the end of the resize, re-apply this Viewpoint to your MapView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mapView.setViewpoint(currentViewpoint);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - this might work well as long as the aspect ratio of your view doesn't change during the resize but you might want to consider what&amp;nbsp;your desired behaviour should be if the aspect ratio changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 08:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356530#M2323</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2019-07-03T08:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356531#M2324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gunther,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I double the size of the container in which my mapView resides, and then reset the viewpoint using this technique, will the size of the map double in size on the screen? This is the functionality I am trying to achieve. Additionally, does this Viewpoint functionality work on older versions of the library such as 10.3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Blake Edwards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 11:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356531#M2324</guid>
      <dc:creator>BlakeEdwards</dc:creator>
      <dc:date>2019-07-03T11:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356532#M2325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you double the size of your MapView and then reset the viewpoint to preserve the original visible extent, I would expect your map to render at a lower&amp;nbsp;scale, i.e. you should see more detail within the same visible extent the MapView was showing before the resize. In other words, the MapView should behave as if it was zooming in during/after the resize.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Viewpoint code as shown above applies to version 100.x, not to 10.x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 15:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356532#M2325</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2019-07-03T15:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356533#M2326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gunther,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great! Thank you for the timely reply it helped a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Blake Edwards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 15:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356533#M2326</guid>
      <dc:creator>BlakeEdwards</dc:creator>
      <dc:date>2019-07-03T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Map Scale Issue</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356534#M2327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, you are welcome.&lt;BR /&gt;&lt;BR /&gt;Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 18:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-scale-issue/m-p/356534#M2327</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2019-07-03T18:06:07Z</dc:date>
    </item>
  </channel>
</rss>

