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