How to interpret getScale() result

2027
2
Jump to solution
07-02-2016 08:36 AM
JuliaAltenbuchner
New Contributor

A fraction representation of scale (e.g. 1:500000) on a paper map can be interpreted as: 1cm on the paper represents 500000cm (5km) in reality. Given that the measurement unit of Android (or any digital screen) is pixel, the interpretation 1 pixel on the screen represents 500000 pixels in reality doesn't make much sense obviously.
So my question is, does this method take pixel the density of the device's screen into account and therefore converts it into valid distance measurements? Or how is this method implemented?

Thank you very much for your help!

0 Kudos
1 Solution

Accepted Solutions
AlexanderNohe1
Occasional Contributor III

I believe that from this blog by Shawn Kendrot (I assume their geonet id is: Shawn Kendrot​), and in the blog he explains that the scale is the same as real world inches to inches and is based off of the device reporting the screen DPI.

A copy of that blog can be found here:

Visually Located | Working with the MapView control in the ArcGIS Runtime

View solution in original post

2 Replies
AlexanderNohe1
Occasional Contributor III

I believe that from this blog by Shawn Kendrot (I assume their geonet id is: Shawn Kendrot​), and in the blog he explains that the scale is the same as real world inches to inches and is based off of the device reporting the screen DPI.

A copy of that blog can be found here:

Visually Located | Working with the MapView control in the ArcGIS Runtime

JuliaAltenbuchner
New Contributor

That's a good find. I assume the same holds true for Android then. Thank you!