QGeoRouteRequest#

Synopsis#

Functions#

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 PySide6.QtLocation.QGeoRouteRequest(origin, destination)#

PySide6.QtLocation.QGeoRouteRequest(other)

PySide6.QtLocation.QGeoRouteRequest([waypoints=list()])

Parameters:
PySide6.QtLocation.QGeoRouteRequest.TravelMode#
PySide6.QtLocation.QGeoRouteRequest.FeatureType#
PySide6.QtLocation.QGeoRouteRequest.FeatureWeight#
PySide6.QtLocation.QGeoRouteRequest.RouteOptimization#
PySide6.QtLocation.QGeoRouteRequest.SegmentDetail#
PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail#
PySide6.QtLocation.QGeoRouteRequest.departureTime()#
Return type:

PySide6.QtCore.QDateTime

PySide6.QtLocation.QGeoRouteRequest.excludeAreas()#
Return type:

.list of QGeoRectangle

PySide6.QtLocation.QGeoRouteRequest.featureTypes()#
Return type:

.list of QGeoRouteRequest.FeatureType

PySide6.QtLocation.QGeoRouteRequest.featureWeight(featureType)#
Parameters:

featureTypeFeatureType

Return type:

FeatureWeight

PySide6.QtLocation.QGeoRouteRequest.maneuverDetail()#
Return type:

ManeuverDetail

PySide6.QtLocation.QGeoRouteRequest.numberAlternativeRoutes()#
Return type:

int

PySide6.QtLocation.QGeoRouteRequest.__ne__(rhs)#
Parameters:

rhsPySide6.QtLocation.QGeoRouteRequest

Return type:

bool

PySide6.QtLocation.QGeoRouteRequest.__eq__(rhs)#
Parameters:

rhsPySide6.QtLocation.QGeoRouteRequest

Return type:

bool

PySide6.QtLocation.QGeoRouteRequest.routeOptimization()#
Return type:

Combination of QGeoRouteRequest.RouteOptimization

PySide6.QtLocation.QGeoRouteRequest.segmentDetail()#
Return type:

SegmentDetail

PySide6.QtLocation.QGeoRouteRequest.setDepartureTime(departureTime)#
Parameters:

departureTimePySide6.QtCore.QDateTime

PySide6.QtLocation.QGeoRouteRequest.setExcludeAreas(areas)#
Parameters:

areas – .list of QGeoRectangle

PySide6.QtLocation.QGeoRouteRequest.setFeatureWeight(featureType, featureWeight)#
Parameters:
PySide6.QtLocation.QGeoRouteRequest.setManeuverDetail(maneuverDetail)#
Parameters:

maneuverDetailManeuverDetail

PySide6.QtLocation.QGeoRouteRequest.setNumberAlternativeRoutes(alternatives)#
Parameters:

alternatives – int

PySide6.QtLocation.QGeoRouteRequest.setRouteOptimization(optimization)#
Parameters:

optimization – Combination of QGeoRouteRequest.RouteOptimization

PySide6.QtLocation.QGeoRouteRequest.setSegmentDetail(segmentDetail)#
Parameters:

segmentDetailSegmentDetail

PySide6.QtLocation.QGeoRouteRequest.setTravelModes(travelModes)#
Parameters:

travelModes – Combination of QGeoRouteRequest.TravelMode

PySide6.QtLocation.QGeoRouteRequest.setWaypoints(waypoints)#
Parameters:

waypoints – .list of QGeoCoordinate

PySide6.QtLocation.QGeoRouteRequest.swap(other)#
Parameters:

otherPySide6.QtLocation.QGeoRouteRequest

PySide6.QtLocation.QGeoRouteRequest.travelModes()#
Return type:

Combination of QGeoRouteRequest.TravelMode

PySide6.QtLocation.QGeoRouteRequest.waypoints()#
Return type:

.list of QGeoCoordinate