Created
October 27, 2010 07:27
-
-
Save honjo2/648611 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 jp.co.mapion.honjo.mapionmapstest3; | |
import jp.co.mapion.android.maps.MapActivity; | |
import jp.co.mapion.android.maps.MapView; | |
import android.os.Bundle; | |
public class Slide10Activity extends MapActivity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
MapView mapView = new MapView(this, "develop"); | |
mapView.setClickable(true); | |
mapView.changeMap(MapView.STANDARD); // オフィシャルと同じ画像 | |
// mapView.changeMap(MapView.LIGHT); // 軽い画像 | |
setContentView(mapView); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment