NamedCircle

public struct NamedCircle

Represents a named circle.

Important

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

Lifecycle

  • Initializes a named circle.

    Declaration

    Swift

    public init(name: String, origin: CLLocationCoordinate2D, radius: Measurement<UnitLength>)

    Parameters

    name

    The name of the TomTomMapDisplay/Circle.

    origin

    The coordinate of the center of the TomTomMapDisplay/Circle.

    radius

    The Range‘s radius.

Public

  • The name of the Circle.

    Declaration

    Swift

    public let name: String
  • The coordinate of the center of the Circle.

    Declaration

    Swift

    public let origin: CLLocationCoordinate2D
  • The Range‘s radius.

    Declaration

    Swift

    public let radius: Measurement<UnitLength>