Code example for MapView

Methods: onDestroy

0
	} 
 
	@Override 
	public void onDestroy() { 
		if (mMapView != null)
			mMapView.onDestroy();
		super.onDestroy(); 
	} 
 
	protected void initControls(View view, Bundle instanceState) {
		mMapView = (MapView) view.findViewById(R.id.mapview);
		if (mMapView != null) {
			mMapView.onCreate(instanceState);
			mGoogleMap = mMapView.getMap();
			mGoogleMap.getUiSettings().setMyLocationButtonEnabled(true);
		} 
	} 
 
	public void setUpMarkerAndZoom(LatLng latLng, String addressInput) {
		if (marker != null) {
Stop searching for code, let great code find you!  Add Codota to your java IDE