If you are interested in this tool, you may also be interested in Photographer's Field Tools. It has a distance ruler using map and many other cool features.
A screen ruler. It can set the origin to the phone edge or the screen edge. It also supports sliding scale for length that is several times longer than the phone length. Supports both phones and tablets. It has self-calibration feature. The more people using it, the more accurate the scale will be.
And the best of all, absolutely free, there is no ads to crowd the already busy screen space.
Note: this app has no camera related feature. Advanced Ruler Pro has camera rulers.
Allows the application to access the phone features of the device. An application with this permission can determine the phone number and serial number of this phone, whether a call is active, the number that call is connected to, ect.