QGeoServiceProviderFactory¶
The
QGeoServiceProviderFactory
class 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 –
Error
errorString – str
- Return type:
Returns a new
QGeoCodingManagerEngine
instance, initialized withparameters
, which implements the location geocoding functionality.If
error
is not 0 it should be set toNoError
on success or an appropriateError
on failure.If
errorString
is not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedError
inQGeoServiceProvider
.
- PySide2.QtLocation.QGeoServiceProviderFactory.createPlaceManagerEngine(parameters, error, errorString)¶
- Parameters:
parameters –
error –
Error
errorString – str
- Return type:
Returns a new
QPlaceManagerEngine
instance, initialized withparameters
, which implements the place searching functionality.If
error
is not 0 it should be set toNoError
on success or an appropriateError
on failure.If
errorString
is not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedError
inQGeoServiceProvider
.
- PySide2.QtLocation.QGeoServiceProviderFactory.createRoutingManagerEngine(parameters, error, errorString)¶
- Parameters:
parameters –
error –
Error
errorString – str
- Return type:
Returns a new
QGeoRoutingManagerEngine
instance, initialized withparameters
, which implements routing functionality.If
error
is not 0 it should be set toNoError
on success or an appropriateError
on failure.If
errorString
is not 0 it should be set to a string describing any error which occurred.The default implementation returns 0, which causes a
NotSupportedError
inQGeoServiceProvider
.
© 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.