CustomPOI

public final class CustomPOI

A single custom POI that can be injected into the search engine.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates a new custom POI.

    Declaration

    Swift

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

    Parameters

    id

    Unique identifier of the custom POI.

    position

    The geo-location of the custom POI.

    poi

    The POI part of the custom POI.

    address

    The Address of the custom POI.

  • poi

    The POI part of the custom POI.

    Declaration

    Swift

    public let poi: POI
  • id

    Unique identifier of the custom POI.

    Declaration

    Swift

    public let id: String
  • The geo-location of the custom POI.

    Declaration

    Swift

    public let position: CLLocationCoordinate2D
  • The Address of the custom POI.

    Declaration

    Swift

    public let address: Address