Code example for Marker

Methods: getPositiongetSnippetgetTitleisInfoWindowShown

0
 
    @Override 
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        if (mMarker != null) {
            outState.putParcelable("markerPosition", mMarker.getPosition());
            outState.putBoolean("isInfoWindowShown", mMarker.isInfoWindowShown());
            if (mMarker.getTitle() != null) {
                outState.putString("infoWindowTitle", mMarker.getTitle());
                outState.putString("infoWindowSnippet", mMarker.getSnippet());
            } 
            if (mLastQueryLat != null) {
                outState.putDouble("lastQueryLat", mLastQueryLat);
                outState.putDouble("lastQueryLng", mLastQueryLng);
            } 
        } 
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE