Code example for GoogleMap

Methods: animateCamera

0
        } 
        @Override 
        public void onCameraChange(CameraPosition arg0) {
            if (mInitialCameraUpdate != null) {
                Logger.T(TAG, "Move camera to initial region");
                mMap.animateCamera(mInitialCameraUpdate);
                mInitialCameraUpdate = null;
            } 
        } 
    } 
     
    class OnInfoWindowClickListener implements GoogleMap.OnInfoWindowClickListener {
 
        @Override 
        public void onInfoWindowClick(Marker marker) {
            Logger.T(TAG, "Marker callout has clicked");
            MarkerAdds adds = mAnnotations.get(marker);
            if (adds != null && adds.url != null) {
                Logger.T(TAG, "Marker URL: " + adds.url);
                WebView.navigate(adds.url, WebView.activeTab());
                finish();