Class Camera

  • All Implemented Interfaces:

    
    public abstract class Camera
    
                        

    This class handles calculating camera's zoom and tilt properties while routing. The NavigationTrimbleMapsMap uses a SimpleCamera by default. If you would like to customize the camera properties, create a concrete implementation of this class or subclass SimpleCamera and update NavigationTrimbleMapsMap.setCamera or NavigationViewOptions.Builder.camera.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Camera()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Double tilt(RouteInformation routeInformation) The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
      abstract Double zoom(RouteInformation routeInformation) Zoom level near the center of the screen.
      abstract List<Point> overview(RouteInformation routeInformation) Return a list of route coordinates that should be visible when creating the route's overview.
      • Methods inherited from class java.lang.Object

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

      • Camera

        Camera()
    • Method Detail

      • tilt

         abstract Double tilt(RouteInformation routeInformation)

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

        See CameraPosition.Builder.tilt for constraints.

      • zoom

         abstract Double zoom(RouteInformation routeInformation)

        Zoom level near the center of the screen.

        See CameraPosition.Builder.zoom for constraints.

      • overview

         abstract List<Point> overview(RouteInformation routeInformation)

        Return a list of route coordinates that should be visible when creating the route's overview.