Class SimpleCamera

  • All Implemented Interfaces:

    
    public class SimpleCamera
    extends Camera
                        

    The default camera used by TrimbleMapsNavigation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleCamera()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Double tilt(RouteInformation routeInformation) The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
      Double zoom(RouteInformation routeInformation) Zoom level near the center of the screen.
      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

      • SimpleCamera

        SimpleCamera()
    • Method Detail

      • tilt

         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

         Double zoom(RouteInformation routeInformation)

        Zoom level near the center of the screen.

        See CameraPosition.Builder.zoom for constraints.

      • overview

         List<Point> overview(RouteInformation routeInformation)

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