QGeoRouteRequest#
Synopsis#
Functions#
def
departureTime
()def
excludeAreas
()def
featureTypes
()def
featureWeight
(featureType)def
maneuverDetail
()def
numberAlternativeRoutes
()def
__ne__
(rhs)def
__eq__
(rhs)def
routeOptimization
()def
segmentDetail
()def
setDepartureTime
(departureTime)def
setExcludeAreas
(areas)def
setFeatureWeight
(featureType, featureWeight)def
setManeuverDetail
(maneuverDetail)def
setNumberAlternativeRoutes
(alternatives)def
setRouteOptimization
(optimization)def
setSegmentDetail
(segmentDetail)def
setTravelModes
(travelModes)def
setWaypoints
(waypoints)def
swap
(other)def
travelModes
()def
waypoints
()
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:
origin –
PySide6.QtPositioning.QGeoCoordinate
destination –
PySide6.QtPositioning.QGeoCoordinate
waypoints – .list of QGeoCoordinate
- 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.QtLocation.QGeoRouteRequest.excludeAreas()#
- Return type:
.list of QGeoRectangle
- PySide6.QtLocation.QGeoRouteRequest.featureTypes()#
- Return type:
.list of QGeoRouteRequest.FeatureType
- PySide6.QtLocation.QGeoRouteRequest.featureWeight(featureType)#
- Parameters:
featureType –
FeatureType
- Return type:
- PySide6.QtLocation.QGeoRouteRequest.maneuverDetail()#
- Return type:
- PySide6.QtLocation.QGeoRouteRequest.numberAlternativeRoutes()#
- Return type:
int
- PySide6.QtLocation.QGeoRouteRequest.__ne__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRouteRequest.__eq__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRouteRequest.routeOptimization()#
- Return type:
Combination of
QGeoRouteRequest.RouteOptimization
- PySide6.QtLocation.QGeoRouteRequest.segmentDetail()#
- Return type:
- PySide6.QtLocation.QGeoRouteRequest.setDepartureTime(departureTime)#
- Parameters:
departureTime –
PySide6.QtCore.QDateTime
- PySide6.QtLocation.QGeoRouteRequest.setExcludeAreas(areas)#
- Parameters:
areas – .list of QGeoRectangle
- PySide6.QtLocation.QGeoRouteRequest.setFeatureWeight(featureType, featureWeight)#
- Parameters:
featureType –
FeatureType
featureWeight –
FeatureWeight
- PySide6.QtLocation.QGeoRouteRequest.setManeuverDetail(maneuverDetail)#
- Parameters:
maneuverDetail –
ManeuverDetail
- 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:
segmentDetail –
SegmentDetail
- 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:
- PySide6.QtLocation.QGeoRouteRequest.travelModes()#
- Return type:
Combination of
QGeoRouteRequest.TravelMode
- PySide6.QtLocation.QGeoRouteRequest.waypoints()#
- Return type:
.list of QGeoCoordinate