Beispiel #1
0
    void AnimateCamera(CameraUpdate cameraUpdate)
    {
        if (_map == null)
        {
            return;
        }

        if (IsCameraMovementAnimatedToggle.isOn)
        {
            _map.AnimateCamera(cameraUpdate);
        }
        else
        {
            _map.MoveCamera(cameraUpdate);
        }
    }
Beispiel #2
0
 void CenterCamera(LatLng latLng)
 {
     if (map != null)
     {
         map.AnimateCamera(CameraUpdate.NewLatLng(latLng));
     }
 }