PickMapContentResult

public class PickMapContentResult
extension PickMapContentResult: NativeBase
extension PickMapContentResult: Hashable

A class that contains possible results from picking map content on the map scene.

  • List of picked places containing the POIs at the location of picking.

    Declaration

    Swift

    public var pickedPlaces: [PickedPlace] { get }
  • List of traffic incidents at the location of picking.

    Declaration

    Swift

    public var trafficIncidents: [PickMapContentResult.TrafficIncidentResult] { get }
  • List of vehicle restrictions at the location of picking, sorted by distance to the center of the picking rectangle.

    Declaration

    Swift

    public var vehicleRestrictions: [PickMapContentResult.VehicleRestrictionResult] { get }
  • Carries the result of picking a Carto traffic incident object. Description of incident is currently not present in our map data, so description always returns an empty string.

    See more

    Declaration

    Swift

    public class TrafficIncidentResult : TrafficIncidentBase
    extension PickMapContentResult.TrafficIncidentResult: NativeBase
    extension PickMapContentResult.TrafficIncidentResult: Hashable
  • Carries the result of picking a vehicle restriction object.

    See more

    Declaration

    Swift

    public struct VehicleRestrictionResult