ru.dgis.sdk.map.TextPlacement | Android SDK | 2GIS Documentation
Android SDK

TextPlacement

Options for the position of the label relative to the icon. The actual position is determined as follows:

  • The first part of the enum indicates the area relative to which the label position is determined: A. "Circle" - means a circle around the marker is considered. B. "Empty string" - means a square is considered.
  • The second part of the enum determines the area with respect to the area around the marker.
  • The third part of the enum determines the location of the label inside the area.
  • Properties
    EnumItem

    No signature.

    EnumItem

    In the center of the area below the square around the marker.

    EnumItem

    On the right side of the area below the square around the marker.

    EnumItem

    On the left side of the area below the square around the marker.

    EnumItem

    In the lower right area relative to the circle around the marker.

    EnumItem

    Bottom area to the right of the square around the marker.

    EnumItem

    In the center of the area to the right of the square around the marker.

    EnumItem

    Top of the area to the right of the square around the marker.

    EnumItem

    In the upper right region relative to the circle around the marker.

    EnumItem

    In the center of the area above the square around the marker.

    EnumItem

    On the right side of the area above the square around the marker.

    EnumItem

    On the left side of the area above the square around the marker.

    EnumItem

    In the upper left region relative to the circle around the marker.

    EnumItem

    Top of the area to the left of the square around the marker.

    EnumItem

    In the center of the area to the left of the square around the marker.

    EnumItem

    Bottom of the area to the left of the square around the marker.

    EnumItem

    In the lower left region relative to the circle around the marker.

    EnumItem

    Centered square around marker.