Polygon

public class Polygon : Annotation

Represents the polygon on the map.

  • List of coordinates of the vertices of a polygon.

    Declaration

    Swift

    public var coordinates: [CLLocationCoordinate2D]
  • tag

    Polygon tag.

    Declaration

    Swift

    public var tag: String?
  • Polygon is selectable.

    Declaration

    Swift

    public var isSelectable: Bool
  • Polygon ID.

    Declaration

    Swift

    public let annotationID: String
  • Bounds of the polygon.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public lazy var bounds: CoordinateBounds { get set }
  • Fill color of the polygon. Default is blue.

    Declaration

    Swift

    public var fillColor: UIColor { get set }
  • Color of the outline of the polygon. Default value is clear color.

    Declaration

    Swift

    public var outlineColor: UIColor { get set }
  • Color of the stroke of the polygon. Default value is clear color.

    Declaration

    Swift

    @available(*, deprecated, renamed: "outlineColor", message: "This API is deprecated and will be removed with the next major release.")
    public var strokeColor: UIColor { get set }
  • Represents texture options of polygon.

    Declaration

    Swift

    public var textureOptions: TextureOptions? { get set }
  • Whether the Polygon in visible at the moment.

    Declaration

    Swift

    public var isVisible: Bool { get set }