MMKBicycleRoute

Warning

This feature is available in the Full MapKit SDK version

class MMKBicycleRoute : NSObject

Bicycle route.

Summary

Properties

var weightMMKBicycleWeight { get }
Quantitative characteristics of the route

var sections: [MMKBicycleSection] { get }
Sections of the route

var legs: [MMKBicycleLeg] { get }
Legs of the route

var geometryMMKPolyline { get }
Polyline with geometry of the route

var flagsMMKBicycleFlags? { get }
Specific properties of the route

var constructions: [MMKBicycleConstructionSegment] { get }
List of specific constructions along the bicycle path, such as stairs or crossings

var trafficTypes: [MMKBicycleTrafficTypeSegment] { get }
List of traffic types (MMKBicycleTrafficTypeID) along the path

var restrictedEntries: [MMKBicycleRestrictedEntry] { get }
List of restricted entries with their positions along the path

var viaPoints: [MMKBicycleViaPoint] { get }
List of via points on the path

var wayPoints: [MMKBicycleWayPoint] { get }
List of waypoints on the route

var uriMetadataMMKUriObjectMetadata { get }
Route URI, which can be used with MMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference

var routeId: String? { get }
Unique route id

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.