简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM