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