<?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: What units are mapView.mapScale in?  Is it feet, meters, something else? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519019#M4446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also - as an FYI - we have a Scalebar control for the MapView in our Toolkit. It's very easy to use, we have sample code showing how to use it:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/Scalebar" title="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/Scalebar"&gt;arcgis-runtime-toolkit-ios/Documentation/Scalebar at master · Esri/arcgis-runtime-toolkit-ios · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 00:21:16 GMT</pubDate>
    <dc:creator>RyanOlson1</dc:creator>
    <dc:date>2017-08-08T00:21:16Z</dc:date>
    <item>
      <title>What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519017#M4444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would like to display to the user the scale in feet...the number I'm seeing for mapScale is not feet as far as I can tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 19:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519017#M4444</guid>
      <dc:creator>SteveHall1</dc:creator>
      <dc:date>2017-08-07T19:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519018#M4445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Map-scale is not in any unit. It's a ratio of the distance on the actual earth to distance on the device screen (map). So if the scale is 10,000. Then 10,000 inches on the earth is 1 inch on the screen (map). At the same time, if your scale is 10,000 then 10,000 feet on earth is the same as 1 foot on the screen (map). The units don't matter, it's the ratio. Typically we talk about inches with scale, probably because of a few different factors, like (1) it's easier to think about length on a screen/map in a small unit such as inches, and (2) easier to do actual conversion of map resolution (map-units per screen point) to map-scale because screen points are typically measured in dots-per-inch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Map-scale has no unit. But your map's spatial reference has a unit, which you can read about here:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_spatial_reference.html#ab3dc7c739282b94595c2eb243c1bb0c9" title="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_spatial_reference.html#ab3dc7c739282b94595c2eb243c1bb0c9"&gt;ArcGIS Runtime SDK for iOS: AGSSpatialReference Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that when you observe coordinates for your map, they are in the unit of your spatial reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 19:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519018#M4445</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-08-07T19:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519019#M4446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also - as an FYI - we have a Scalebar control for the MapView in our Toolkit. It's very easy to use, we have sample code showing how to use it:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/Scalebar" title="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/Scalebar"&gt;arcgis-runtime-toolkit-ios/Documentation/Scalebar at master · Esri/arcgis-runtime-toolkit-ios · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 00:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519019#M4446</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-08-08T00:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519020#M4447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you show a map without specifying a SpatialReference, how do you know what the distance is ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a simple application, I read the mapView's mapScale and plot it on the map in a textbox (like 1/mapScale).&lt;/P&gt;&lt;P&gt;I would assume that with a mapScale of 10000, 1 cm on the screen represents 10000 cm = 100 m in reality, so a street of 800 m would be shown 8 cm long ?&lt;/P&gt;&lt;P&gt;However, on my application it's nearly double that size (about 16 cm).&lt;/P&gt;&lt;P&gt;How can I know the exact distance of an object on the map, using mapScale() ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 12:12:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519020#M4447</guid>
      <dc:creator>MarcWouters</dc:creator>
      <dc:date>2017-08-08T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519021#M4448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you don't specify a spatial reference, your map has to operate under one. So once your map is loaded, it has a spatial reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measuring distance on a map is not something you'd really want to use map scale for. Map scale will give you a basic planar distance, which depending on the spatial reference is going to be inaccurate at certain locations on the globe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to measure between features, points on a map, etc., it's best to use the AGSGeometryEngine (&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_geometry_engine.html" title="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_geometry_engine.html"&gt;ArcGIS Runtime SDK for iOS: AGSGeometryEngine Class Reference&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see this in action with an out of the box component, please see our measure toolbar component. It's very easy to add to your app:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/MeasureToolbar" title="https://github.com/Esri/arcgis-runtime-toolkit-ios/tree/master/Documentation/MeasureToolbar"&gt;arcgis-runtime-toolkit-ios/Documentation/MeasureToolbar at master · Esri/arcgis-runtime-toolkit-ios · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519021#M4448</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-08-08T16:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: What units are mapView.mapScale in?  Is it feet, meters, something else?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519022#M4449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;My real purpose was to measure a distance on the map, but to show a (more or less) accurate scale bar instead of just a number.&lt;/P&gt;&lt;P&gt;You refer to the toolkit for iOs, but the toolkit Qt doesn't seem to have the same functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 07:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/what-units-are-mapview-mapscale-in-is-it-feet/m-p/519022#M4449</guid>
      <dc:creator>MarcWouters</dc:creator>
      <dc:date>2017-08-09T07:15:33Z</dc:date>
    </item>
  </channel>
</rss>

