Options

public struct Options

Undocumented

  • page number

    Declaration

    Swift

    public var pagenumber: Int?
  • items per page

    Declaration

    Swift

    public var pagesize: Int?
  • POI type you are searching for (in this case gas stations)

    Declaration

    Swift

    public var filterpoiType: PCFilterpoiType?
  • Search only gas stations with fueling app available

    Declaration

    Swift

    public var filterappType: [PCFilterappType]?
  • Latitude in degrees

    Declaration

    Swift

    public var filterlatitude: Float?
  • Longitude in degrees

    Declaration

    Swift

    public var filterlongitude: Float?
  • Radius in meters

    Declaration

    Swift

    public var filterradius: Float?
  •             Bounding box representing left, bottom, right, top in degrees. The query parameters need to be passed 4 times in exactly the order left, bottom, right, top.
    
    #ValueLat/LongRange
    0leftLat[-180..180]
    1bottomLong[-90..90]
    2rightLat[-180..180]
    3topLong[-90..90]

    Declaration

    Swift

    public var filterboundingBox: [Float]?
  • Reduces the opening hours rules. After compilation only rules with the action open will remain in the response.

    Declaration

    Swift

    public var compileopeningHours: Bool?
  • Filter by source ID

    Declaration

    Swift

    public var filtersource: ID?
  • Undocumented

    Declaration

    Swift

    public init(pagenumber: Int? = nil, pagesize: Int? = nil, filterpoiType: PCFilterpoiType? = nil, filterappType: [PCFilterappType]? = nil, filterlatitude: Float? = nil, filterlongitude: Float? = nil, filterradius: Float? = nil, filterboundingBox: [Float]? = nil, compileopeningHours: Bool? = nil, filtersource: ID? = nil)