Journey

public struct Journey : Codable

Journey holds the properties of journey when drawing jouney

  • Custom navigation markers

    Declaration

    Swift

    public var connectionTemplateString: String?
  • Custom destination marker

    Declaration

    Swift

    public var destinationMarkerTemplateString: String?
  • Custom departure marker

    Declaration

    Swift

    public var departureMarkerTemplateString: String?
  • Custom path to be drawn

    Declaration

    Swift

    public var pathOptions: Path?
  • Highlighted color of polygons when it is selected

    Declaration

    Swift

    public var polygonHighlightColor: String?
  • Construct a MPIOptions.Journey object with the given properties

    Declaration

    Swift

    public init(
        connectionTemplateString: String? = nil,
        destinationMarkerTemplateString: String? = nil,
        departureMarkerTemplateString: String? = nil,
        pathOptions: Path? = nil,
        polygonHighlightColor: String? = nil
    )

    Parameters

    connectionTemplateString

    provide custom navigation markers

    destinationMarkerTemplateString

    set custom destination marker

    departureMarkerTemplateString

    set custom departure marker

    pathOptions

    set custom path to be drawn

    polygonHighlightColor

    set the highlighted color of polygons when it is selected