Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Osmdroid map rotation

I am doing osmdroid map project. I am using custom tiles for map. Can anyone tell me how to rotate the custom tiles map?

like image 294
Palanichamy Avatar asked Apr 05 '13 13:04

Palanichamy


1 Answers

The latest version of osmdroid includes the ability to rotate the maps.

mMapView.setMapOrientation(45.0f);

The latest samples application also includes a rotation gesture overlay for rotating the maps with a two-finger rotate gesture.

like image 80
kurtzmarc Avatar answered Sep 28 '22 00:09

kurtzmarc