Google Maps - zoom geht nicht

  • 0 Antworten
  • Letztes Antwortdatum
Q

qwert_zuiopue

Fortgeschrittenes Mitglied
6
Hallo,

ich integriere folgendermaßen eine google-Karte in mein Programm:
Code:
    	MapView mMapView = new MapView(this, "mein_key");
		mMapView.setBuiltInZoomControls(true);
		
    	mMapView.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT));
    	LinearLayout layout = (LinearLayout) findViewById(R.id.linearlayout);
    	layout.addView(mMapView);

daraufhin lässt sich die Karte aber weder verschieben noch zoomen.
Was mache ich falsch?

Danke!
 

Ähnliche Themen

L
Antworten
3
Aufrufe
657
mips400
mips400
Zurück
Oben Unten