HERE Android SDK Developer's Guide

ZoomLevelToTiltFunction

The interface ZoomLevelToTiltFunction is a member of com.here.android.mpa.mapping .

Interface Summary

public abstract interface ZoomLevelToTiltFunction

Defines a interface to implement a function that provides a tilt value output for a zoom level input.

[For complete information, see the section Interface Details]

See also:

setMaximumTiltFunction(ZoomLevelToTiltFunction)

Method Summary

Table 1. Methods in ZoomLevelToTiltFunction
Methods

public abstract float getTilt (float zoomLevel)

Method use to control maximum tilt allowed on a map view at a given zoom level.

Interface Details

Defines a interface to implement a function that provides a tilt value output for a zoom level input.

See also:

setMaximumTiltFunction(ZoomLevelToTiltFunction)

Method Details

public abstract float getTilt (float zoomLevel)

Method use to control maximum tilt allowed on a map view at a given zoom level.

The function takes an input zoom level that will be in the range [ getMaxTilt(), getMinTilt()]. The output should be a tilt value in the range [0, getMinTilt()].

Parameters:

  • zoomLevel

    Desired fractional zoom level.