Skip to content

Instantly share code, notes, and snippets.

@honjo2
Created October 27, 2010 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honjo2/648611 to your computer and use it in GitHub Desktop.
Save honjo2/648611 to your computer and use it in GitHub Desktop.
[android maps api] 地図画像切り替え
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