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

TextPlacement

Options for the position of the label relative to the icon. The position itself is defined as follow:

  • The first part of the enum denotes the area relative to which the label position zone is defined: A. "Circle" means a circle is considered around the marker. B An empty string means a square is being considered.
  • The second part of the enum defines the zone relative to the area around the marker.
  • The third part of the enum defines the location of the label within the zone.
  • 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.