Small updates to maps api

This commit is contained in:
Marvin W 2016-03-14 19:09:46 +01:00
parent 96540b11c6
commit 249915ed3f
3 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package com.google.android.gms.maps.internal;
import android.os.Bundle;
import com.google.android.gms.maps.internal.IGoogleMapDelegate;
import com.google.android.gms.maps.internal.IOnMapReadyCallback;
import com.google.android.gms.maps.GoogleMapOptions;
import com.google.android.gms.dynamic.IObjectWrapper;
@ -18,4 +19,5 @@ interface IMapFragmentDelegate {
void onLowMemory();
void onSaveInstanceState(inout Bundle outState);
boolean isReady();
void getMapAsync(IOnMapReadyCallback callback);
}

View File

@ -15,5 +15,5 @@ interface IMapViewDelegate {
void onLowMemory();
void onSaveInstanceState(inout Bundle outState);
IObjectWrapper getView();
void addOnMapReadyCallback(IOnMapReadyCallback callback);
void getMapAsync(IOnMapReadyCallback callback);
}

View File

@ -43,6 +43,12 @@ public final class GoogleMapOptions extends AutoSafeParcelable {
private boolean tiltGesturesEnabled = true;
@SafeParceled(11)
private boolean rotateGesturesEnabled = true;
@SafeParceled(12)
private boolean liteMode = false;
@SafeParceled(14)
private boolean mapToobarEnabled = false;
@SafeParceled(15)
private boolean ambientEnabled = false;
public GoogleMapOptions() {
}