Class DynamicCamera

  • All Implemented Interfaces:

    
    public class DynamicCamera
    extends SimpleCamera
                        

    Extension that recalculates the camera position on each progress update.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static SimpleCamera.Companion Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicCamera(TrimbleMapsMap trimbleMapsMap)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      double tilt(@NonNull() RouteInformation routeInformation) The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
      double zoom(@NonNull() RouteInformation routeInformation) Zoom level near the center of the screen.
      void forceResetZoomLevel() Called when the zoom level should force update on the next usage of zoom.
      void clearMap()
      • Methods inherited from class com.trimblemaps.navigation.ui.camera.SimpleCamera

        overview
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicCamera

        DynamicCamera(TrimbleMapsMap trimbleMapsMap)
    • Method Detail

      • tilt

         double tilt(@NonNull() RouteInformation routeInformation)

        The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).

        See CameraPosition.Builder.tilt for constraints.

      • zoom

         double zoom(@NonNull() RouteInformation routeInformation)

        Zoom level near the center of the screen.

        See CameraPosition.Builder.zoom for constraints.

      • forceResetZoomLevel

         void forceResetZoomLevel()

        Called when the zoom level should force update on the next usage of zoom.