Polygon

public class Polygon : Annotation

Represents the polygon on the map.

Public

  • 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

    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 stroke of the polygon. Default value is clear color.

    Declaration

    Swift

    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 }