Mapbox Directions for Swift Docs Directions.swift Reference (2.0.0-beta.5)

View on GitHub

Install in Dash

Mapbox Directions for Swift Reference LocationSpeed Extension Reference
  • Guides
    • Navigation SDK
  • Getting Directions
    • Directions
    • RouteOptions
    • Waypoint
  • Map Matching
    • MatchOptions
    • Tracepoint
    • Match
  • Results
    • Route
    • RouteLeg
    • – Attributes
    • RouteStep
  • Other Classes
    • DirectionsOptions
    • DirectionsResult
    • SpokenInstruction
    • VisualInstruction
    • – Component
    • VisualInstructionBanner
  • Other Global Variables
    • MBDirectionsErrorDomain
  • Other Enumerations
    • CongestionLevel
    • DirectionsCodingError
    • DirectionsError
    • DrivingSide
    • ManeuverDirection
    • ManeuverType
    • MapboxStreetsRoadClass
    • MeasurementSystem
    • RouteShapeFormat
    • RouteShapeResolution
    • SignStandard
    • TransportType
    • Weight
  • Other Extensions
    • Array
    • BoundingBox
    • Collection
    • LineString
    • LocationSpeed
  • Other Structures
    • AdministrativeRegion
    • AttributeOptions
    • BlockedLanes
    • DirectionsPriority
    • DirectionsProfileIdentifier
    • GuidanceViewImageRepresentation
    • Incident
    • – Kind
    • – Impact
    • Intersection
    • LaneIndication
    • RefreshedRoute
    • RefreshedRouteLeg
    • RestStop
    • RoadClasses
    • RouteRefreshResponse
    • TollCollection
  • Other Type Aliases
    • LocationAccuracy
    • LocationAccuracy
    • LocationSpeed
    • LocationSpeed
    • Scale
    • Scale

LocationSpeed

extension LocationSpeed
  • normalWalking

    By default, pedestrians are assumed to walk at an average rate of 1.42 meters per second (5.11 kilometers per hour or 3.18 miles per hour), corresponding to a typical preferred walking speed.

    Declaration

    Swift

    static let normalWalking: LocationSpeed
    View Source on GitHub
  • minimumWalking

    Pedestrians are assumed to walk no slower than 0.14 meters per second (0.50 kilometers per hour or 0.31 miles per hour) on average.

    Declaration

    Swift

    static let minimumWalking: LocationSpeed
    View Source on GitHub
  • maximumWalking

    Pedestrians are assumed to walk no faster than 6.94 meters per second (25.0 kilometers per hour or 15.5 miles per hour) on average.

    Declaration

    Swift

    static let maximumWalking: LocationSpeed
    View Source on GitHub

© 2014–2021 Mapbox. See license for more details.

Generated by jazzy ♪♫ v0.13.1, a Realm project.