TrackingCameraBehavior.ZoomPolicy (API Reference)
Package com.here.sdk.navigation
Class TrackingCameraBehavior.ZoomPolicy
java.lang.Object
com.here.NativeBase
com.here.sdk.navigation.TrackingCameraBehavior.ZoomPolicy
- Enclosing class:
- TrackingCameraBehavior
Defines zoom behavior in different policy settings.
Note: This is a beta feature; there maybe bugs and unexpected behavior. Related API's are subject to change without a deprecation process.
-
Method Summary
Modifier and TypeMethodDescriptionmakeFixedZoomPolicy(double zoomLevel) Creates a zoom policy that always returns a fixed zoom level.makeFunctionalRoadClassZoomPolicy(TrackingCameraBehavior.FunctionalRoadClassZoomPolicyOptions options) Instantiates a zoom policy that selects zoom levels based on functional road class.Instantiates a zoom policy driven by speed thresholds defined per road classification.
-
Method Details
-
makeFixedZoomPolicy
Creates a zoom policy that always returns a fixed zoom level.
- Parameters:
zoomLevel-The constant zoom level that the policy will return.
- Returns:
The ZoomPolicy instance.
-