- class QGeoRoutingManagerEngine#
-
Synopsis#
Methods#
def
__init__()
def
locale()
def
managerName()
def
managerVersion()
def
setLocale()
Virtual methods#
def
calculateRoute()
def
updateRoute()
Signals#
def
errorOccurred()
def
finished()
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#
- __init__(parameters[, parent=None])#
- Parameters:
parameters – Dictionary with keys of type .QString and values of type QVariant.
parent –
QObject
- abstract calculateRoute(request)#
- Parameters:
request –
QGeoRouteRequest
- Return type:
- errorOccurred(reply, error[, errorString=""])#
- Parameters:
reply –
QGeoRouteReply
error –
Error
errorString – str
- finished(reply)#
- Parameters:
reply –
QGeoRouteReply
- managerName()#
- Return type:
str
- managerVersion()#
- Return type:
int
- measurementSystem()#
- Return type:
- setMeasurementSystem(system)#
- Parameters:
system –
MeasurementSystem
- setSupportedFeatureTypes(featureTypes)#
- Parameters:
featureTypes – Combination of
FeatureType
- setSupportedFeatureWeights(featureWeights)#
- Parameters:
featureWeights – Combination of
FeatureWeight
- setSupportedManeuverDetails(maneuverDetails)#
- Parameters:
maneuverDetails – Combination of
ManeuverDetail
- setSupportedRouteOptimizations(optimizations)#
- Parameters:
optimizations – Combination of
RouteOptimization
- setSupportedSegmentDetails(segmentDetails)#
- Parameters:
segmentDetails – Combination of
SegmentDetail
- setSupportedTravelModes(travelModes)#
- Parameters:
travelModes – Combination of
TravelMode
- supportedFeatureTypes()#
- Return type:
Combination of
FeatureType
- supportedFeatureWeights()#
- Return type:
Combination of
FeatureWeight
- supportedManeuverDetails()#
- Return type:
Combination of
ManeuverDetail
- supportedRouteOptimizations()#
- Return type:
Combination of
RouteOptimization
- supportedSegmentDetails()#
- Return type:
Combination of
SegmentDetail
- supportedTravelModes()#
- Return type:
Combination of
TravelMode
- updateRoute(route, position)#
- Parameters:
route –
QGeoRoute
position –
QGeoCoordinate
- Return type: