Created
October 20, 2010 07:43
-
-
Save honjo2/635978 to your computer and use it in GitHub Desktop.
[android maps api] 地図を回転する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package honjo; | |
import jp.co.mapion.android.maps.MapActivity; | |
import jp.co.mapion.android.maps.MapView; | |
import android.os.Bundle; | |
public class Slide08Activity extends MapActivity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
MapView mapView = new MapView(this, "APIキー"); | |
setContentView(mapView); | |
mapView.setRotation(true); | |
mapView.setDegrees(45.0f); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment