I’m struggling with adding a map scale that displays current length on screen depending on current zoom level. I’m having a feeling that it might exist some predefined class to use but I have no clue…? I’ve searched around a lot but can’t find anything.
Any help i much appreciated =)
// Alex
Alright, I got it now! Luis answer helped me a lot and also OpenStreetMap. Here’s what I came up with:
Use it the following way in your onCreate():
Hope this will help anyone =) This will work from API level 7+. I haven’t tested it on API level 14+ though, and i know that some hardware accelerated stuff “don’t” work there like drawing a picture with canvas. But i think it’ll work with a recording.
Thanks again Luis!
// Alexander