Search code examples
javaandroidopenstreetmaposmdroid

osmdroid: can it rotate captions on map?


I built osmdroid from source, and ran OpenStreeMapViewer as documentation suggested.

And when I rotate map with two finger I see that caption rotated with whole map, so it is hard to read them. If for example map is rotated to south, captions are rotated upside to down. Is any hack to not rotate captions with map? Or it uses only open street map data in form of bitmaps, and it is impossible with osmdroid?


Solution

  • Captions (labels) are part of the raster images (tiles). You can't rotate them without rotating the images. The only option is to render the map yourself using vector tiles.