QGeoServiceProviderFactory¶
The
QGeoServiceProviderFactoryclass is a factory class used as the plugin interface for services related to geographical information. More…

Inherited by: QGeoServiceProviderFactoryV2
Detailed Description¶
Implementers must provide a unique combination of providerName() and providerVersion() per plugin.
The other functions should be overridden if the plugin supports the associated set of functionality.
See also
- class PySide2.QtLocation.QGeoServiceProviderFactory¶
- PySide2.QtLocation.QGeoServiceProviderFactory.createGeocodingManagerEngine(parameters, error, errorString)¶
- Parameters:
parameters –
error –
ErrorerrorString – str
- Return type:
Returns a new
QGeoCodingManagerEngineinstance, initialized withparameters, which implements the location geocoding functionality.If
erroris not 0 it should be set toNoErroron success or an appropriateErroron failure.If
errorStringis not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedErrorinQGeoServiceProvider.
- PySide2.QtLocation.QGeoServiceProviderFactory.createPlaceManagerEngine(parameters, error, errorString)¶
- Parameters:
parameters –
error –
ErrorerrorString – str
- Return type:
Returns a new
QPlaceManagerEngineinstance, initialized withparameters, which implements the place searching functionality.If
erroris not 0 it should be set toNoErroron success or an appropriateErroron failure.If
errorStringis not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedErrorinQGeoServiceProvider.
- PySide2.QtLocation.QGeoServiceProviderFactory.createRoutingManagerEngine(parameters, error, errorString)¶
- Parameters:
parameters –
error –
ErrorerrorString – str
- Return type:
Returns a new
QGeoRoutingManagerEngineinstance, initialized withparameters, which implements routing functionality.If
erroris not 0 it should be set toNoErroron success or an appropriateErroron failure.If
errorStringis not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedErrorinQGeoServiceProvider.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.