CustomPOIRecord

public final class CustomPOIRecord : CustomRecord

A single custom POI record.

Important

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

Lifecycle

  • Creates a new POI custom record

    Declaration

    Swift

    public init(id: String, position: CLLocationCoordinate2D, poi: POI, address: Address)

    Parameters

    id

    Unique identifier of the custom record.

    position

    The geo-location of the custom record.

    poi

    The POI part of the custom record.

    address

    The Address of the custom record.

Public

  • poi

    The POI part of the custom record.

    Declaration

    Swift

    public let poi: POI