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.
Note: this app has no camera related feature. Advanced Ruler Pro has camera rulers.
1. Internet access permission is for crash report