<?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: Scale bar on map view in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544643#M3719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've done something like this in our iOS apps. &amp;nbsp;We figure out the DPI of the device's screen and then create a one-inch long rectangle. &amp;nbsp;Then we hook into the zoom/pan events and update scale text to display "1in = XXXft" (or whatever) based on a geodetic measure of the extent of the rectangle on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works pretty well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 18:59:49 GMT</pubDate>
    <dc:creator>MichaelDavis3</dc:creator>
    <dc:date>2016-11-02T18:59:49Z</dc:date>
    <item>
      <title>Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544636#M3712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just looked around the API for a method in the class com.esri.android.map.MapView for a method for adding a scale bar to the map view. All I see is a getScale() method. Is there an easy way to add a scale bar to the map view that I am missing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I could make one up from the get scale method and then use a fragment....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 21:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544636#M3712</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2014-07-23T21:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544637#M3713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also am looking for a solution to add a scale bar to my map. &lt;SPAN style="line-height: 1.5;"&gt;Any one have any progress with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 19:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544637#M3713</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2015-01-30T19:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544638#M3714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As near as I could tell one would have to make up a custom one. We felt like we did not need it that bad. But I must say I was surprised that something was not in the API. One would think this is a basic thing esri would want to put in...... ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 02:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544638#M3714</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-01-31T02:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544639#M3715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We create custom scale bar for our apps on iOS and Android.&lt;/P&gt;&lt;P&gt;If you want to know how it looks check our app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://play.google.com/store/apps/details?id=pl.gispartner.imapmobile" title="https://play.google.com/store/apps/details?id=pl.gispartner.imapmobile"&gt;Geoportal Mobile - Android Apps on Google Play&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 13:44:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544639#M3715</guid>
      <dc:creator>_ukaszKolek</dc:creator>
      <dc:date>2015-02-06T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544640#M3716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the example Kolek, I am looking for a scale that shows like 2 inches = 5 km, so the users know how much area they are looking at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like I will have to do some custom work to get this working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 13:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544640#M3716</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2015-02-25T13:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544641#M3717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have worked on the map scale bar using ArcGIS android SDK 10.2.&lt;/P&gt;&lt;P&gt;Normally there no found the solution for display scale bar what you want.&lt;/P&gt;&lt;P&gt;But I found the example associated with this issue.&lt;/P&gt;&lt;P&gt;You can check this url and apply the sample.&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="http://stackoverflow.com/questions/12964608/how-to-add-a-map-scale-in-mapview-on-android" title="http://stackoverflow.com/questions/12964608/how-to-add-a-map-scale-in-mapview-on-android"&gt;http://stackoverflow.com/questions/12964608/how-to-add-a-map-scale-in-mapview-on-android&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;this is not the sample for ArcGIS android SDK, but you can change it in order to the SDK.&lt;/P&gt;&lt;P&gt;if you want to know more details, I could provide my program.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/254843_scalebar.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 03:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544641#M3717</guid>
      <dc:creator>jinyingmin2</dc:creator>
      <dc:date>2016-10-31T03:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544642#M3718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very cool. Thanks taking the time to reply. At this time we are not using a&amp;nbsp;scale bar in the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 21:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544642#M3718</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2016-10-31T21:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Scale bar on map view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544643#M3719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've done something like this in our iOS apps. &amp;nbsp;We figure out the DPI of the device's screen and then create a one-inch long rectangle. &amp;nbsp;Then we hook into the zoom/pan events and update scale text to display "1in = XXXft" (or whatever) based on a geodetic measure of the extent of the rectangle on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works pretty well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:59:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/scale-bar-on-map-view/m-p/544643#M3719</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2016-11-02T18:59:49Z</dc:date>
    </item>
  </channel>
</rss>

