class QGeoRouteRequest#

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class TravelMode#
class FeatureType#
class FeatureWeight#
class RouteOptimization#
class SegmentDetail#
class ManeuverDetail#
__init__(other)#
Parameters:

otherQGeoRouteRequest

__init__([waypoints=list()])
Parameters:

waypoints – .list of QGeoCoordinate

__init__(origin, destination)
Parameters:
departureTime()#
Return type:

QDateTime

excludeAreas()#
Return type:

.list of QGeoRectangle

featureTypes()#
Return type:

.list of QGeoRouteRequest.FeatureType

featureWeight(featureType)#
Parameters:

featureTypeFeatureType

Return type:

FeatureWeight

maneuverDetail()#
Return type:

ManeuverDetail

numberAlternativeRoutes()#
Return type:

int

__ne__(rhs)#
Parameters:

rhsQGeoRouteRequest

Return type:

bool

__eq__(rhs)#
Parameters:

rhsQGeoRouteRequest

Return type:

bool

routeOptimization()#
Return type:

Combination of RouteOptimization

segmentDetail()#
Return type:

SegmentDetail

setDepartureTime(departureTime)#
Parameters:

departureTimeQDateTime

setExcludeAreas(areas)#
Parameters:

areas – .list of QGeoRectangle

setFeatureWeight(featureType, featureWeight)#
Parameters:
setManeuverDetail(maneuverDetail)#
Parameters:

maneuverDetailManeuverDetail

setNumberAlternativeRoutes(alternatives)#
Parameters:

alternatives – int

setRouteOptimization(optimization)#
Parameters:

optimization – Combination of RouteOptimization

setSegmentDetail(segmentDetail)#
Parameters:

segmentDetailSegmentDetail

setTravelModes(travelModes)#
Parameters:

travelModes – Combination of TravelMode

setWaypoints(waypoints)#
Parameters:

waypoints – .list of QGeoCoordinate

swap(other)#
Parameters:

otherQGeoRouteRequest

travelModes()#
Return type:

Combination of TravelMode

waypoints()#
Return type:

.list of QGeoCoordinate