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 –
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 –
FeatureTypes
- PySide6.QtLocation.QGeoRoutingManagerEngine.setSupportedFeatureWeights(featureWeights)#
- Parameters:
featureWeights –
FeatureWeights
- PySide6.QtLocation.QGeoRoutingManagerEngine.setSupportedManeuverDetails(maneuverDetails)#
- Parameters:
maneuverDetails –
ManeuverDetails
- PySide6.QtLocation.QGeoRoutingManagerEngine.setSupportedRouteOptimizations(optimizations)#
- Parameters:
optimizations –
RouteOptimizations
- PySide6.QtLocation.QGeoRoutingManagerEngine.setSupportedSegmentDetails(segmentDetails)#
- Parameters:
segmentDetails –
SegmentDetails
- PySide6.QtLocation.QGeoRoutingManagerEngine.setSupportedTravelModes(travelModes)#
- Parameters:
travelModes –
TravelModes
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedFeatureTypes()#
- Return type:
FeatureTypes
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedFeatureWeights()#
- Return type:
FeatureWeights
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedManeuverDetails()#
- Return type:
ManeuverDetails
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedRouteOptimizations()#
- Return type:
RouteOptimizations
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedSegmentDetails()#
- Return type:
SegmentDetails
- PySide6.QtLocation.QGeoRoutingManagerEngine.supportedTravelModes()#
- Return type:
TravelModes
- PySide6.QtLocation.QGeoRoutingManagerEngine.updateRoute(route, position)#
- Parameters:
route –
PySide6.QtLocation.QGeoRoute
position –
PySide6.QtPositioning.QGeoCoordinate
- Return type: