gpstest icon indicating copy to clipboard operation
gpstest copied to clipboard

Add scale bar to map (Google and OSMDroid)

Open jidanni opened this issue 5 years ago • 12 comments

The map already has a North Arrow. Now all that it needs to be a standard map is a scale bar.

jidanni avatar Apr 28 '20 07:04 jidanni

@jidanni Thanks for the feedback!

Looks like OSMDroid supports this natively: https://osmdroid.github.io/osmdroid/javadocAll/org/osmdroid/views/overlay/ScaleBarOverlay.html

...but to my knowledge Google Maps does not.

There are also third-party libraries to achieve this: https://github.com/pengrad/MapScaleView

It may be easiest to just use the 3rd party library on both for consistency.

barbeau avatar Apr 29 '20 17:04 barbeau

I also found https://stackoverflow.com/questions/2094648/google-maps-api-how-to-add-a-scale-measure-on-a-map

jidanni avatar Apr 29 '20 18:04 jidanni

I've opened an issue on the Android Maps Utils library to support this feature too - https://github.com/googlemaps/android-maps-utils/issues/701.

barbeau avatar May 27 '20 17:05 barbeau

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 03 '21 20:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Oct 01 '21 23:10 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Apr 20 '22 23:04 stale[bot]

Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution.

stale[bot] avatar Nov 07 '22 03:11 stale[bot]