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
QGeoServiceProviderFactory
¶
-
PySide2.QtLocation.QGeoServiceProviderFactory.
createGeocodingManagerEngine
(parameters, error, errorString)¶ - Parameters
parameters –
error –
Error
errorString – unicode
- 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 – unicode
- 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 – unicode
- 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
.