Warning
This feature is available in the Full MapKit SDK version
MMKBicycleRoute
class MMKBicycleRoute : NSObject |
Bicycle route.
Summary
Properties
var weight: MMKBicycleWeight { get } |
var sections: [MMKBicycleSection] { get } |
var legs: [MMKBicycleLeg] { get } |
var geometry: MMKPolyline { get } |
var flags: MMKBicycleFlags? { get } |
var constructions: [MMKBicycleConstructionSegment] { get } |
var trafficTypes: [MMKBicycleTrafficTypeSegment] { get } |
var restrictedEntries: [MMKBicycleRestrictedEntry] { get } |
var viaPoints: [MMKBicycleViaPoint] { get } |
var wayPoints: [MMKBicycleWayPoint] { get } |
var uriMetadata: MMKUriObjectMetadata { get } |
var routeId: String? { get } |
Properties
weight
var weight: MMKBicycleWeight { get } |
Quantitative characteristics of the route.
sections
var sections: [MMKBicycleSection] { get } |
Sections of the route.
legs
var legs: [MMKBicycleLeg] { get } |
Legs of the route.
geometry
var geometry: MMKPolyline { get } |
Polyline with geometry of the route.
flags
var flags: MMKBicycleFlags? { get } |
Specific properties of the route.
Optional property, can be nil.
constructions
var constructions: [MMKBicycleConstructionSegment] { get } |
List of specific constructions along the bicycle path, such as stairs or crossings. See MMKBicycleConstructionID for a complete list of constructions. MMKBicycleConstructionSegment::subpolyline fields of all segments cover the entire MMKBicycleRoute::geometry.
trafficTypes
var trafficTypes: [MMKBicycleTrafficTypeSegment] { get } |
List of traffic types (MMKBicycleTrafficTypeID) along the path. Traffic type for an edge means who the road is designed for, such as pedestrians or cyclists. See MMKBicycleTrafficTypeID for a complete list of types. Fields MMKBicycleTrafficTypeSegment::subpolyline of all segments cover whole MMKBicycleRoute::geometry
restrictedEntries
var restrictedEntries: [MMKBicycleRestrictedEntry] { get } |
List of restricted entries with their positions along the path.
viaPoints
var viaPoints: [MMKBicycleViaPoint] { get } |
List of via points on the path. See MMKBicycleViaPoint for details
wayPoints
var wayPoints: [MMKBicycleWayPoint] { get } |
List of waypoints on the route. See MMKBicycleWayPoint for details.
uriMetadata
var uriMetadata: MMKUriObjectMetadata { get } |
Route URI, which can be used with MMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference.
routeId
var routeId: String? { get } |
Unique route id.
Optional property, can be nil.