NamedPolygon

public struct NamedPolygon

Represents a named polygon.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes a named polygon.

    Declaration

    Swift

    public init(name: String, boundary: [CLLocationCoordinate2D])

    Parameters

    name

    The name of the Polygon.

    boundary

    The coordinates of the points in the TomTomMapDisplay/Polygon‘s boundary.

  • The name of the Polygon.

    Declaration

    Swift

    public let name: String
  • The coordinates of the points in the TomTomMapDisplay/Polygon‘s boundary.

    Declaration

    Swift

    public let boundary: [CLLocationCoordinate2D]