HERE Android SDK Developer's Guide

VerticalPlacement

The enumeration VerticalPlacement is a member of com.here.android.mpa.streetlevel.StreetLevelIconPlacement.

Enumeration Summary

public static final enumeration StreetLevelIconPlacement.VerticalPlacement

extends java.lang.Enum, java.lang.Object

This enumeration defines values for automatic placement in altitude.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in VerticalPlacement
Fields

public static final VerticalPlacement DEFAULT

Calculates height as meters above the sea level.

public static final VerticalPlacement TERRAIN

Calculates height as meters above the terrain.

public static final VerticalPlacement FACADE

Used with HorizontalPlacement.FACADE.

public static final VerticalPlacement ATTACHMENT

Calculates height as a percentage of the building height.

Method Summary

Table 2. Methods in VerticalPlacement
Methods

public static VerticalPlacement valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static StreetLevelIconPlacement.VerticalPlacement[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

This enumeration defines values for automatic placement in altitude.

Enum Constant Details

public static final VerticalPlacement DEFAULT

Calculates height as meters above the sea level.

public static final VerticalPlacement TERRAIN

Calculates height as meters above the terrain.

public static final VerticalPlacement FACADE

Used with HorizontalPlacement.FACADE. The object will use a default height or the height that you provide (as calculated from the terrain), whichever is higher.

public static final VerticalPlacement ATTACHMENT

Calculates height as a percentage of the building height.

Method Details

public static VerticalPlacement valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static StreetLevelIconPlacement.VerticalPlacement[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.