Skip to content

GeoServiceProvider

Qt Base Class: QGeoServiceProvider

Signature: QGeoServiceProvider(self, providerName: str, parameters: Dict[str, Any] = Default(QVariantMap), allowExperimental: bool = False) -> None

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object
QGeoServiceProvider
PySide6.QtLocation
QGeoServiceProvider(self, providerName: str, parameters: Dict[str, Any] \= Default(QVariantMap), allowExperimental: bool \= False) -> None

⋔ Inheritance diagram

graph TD
  1473573248208["location.GeoServiceProvider"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473573441456["QtLocation.QGeoServiceProvider"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473299815024 --> 1473573248208
  140713234304496 --> 1473299815024
  1473573441456 --> 1473573248208
  1473288842240 --> 1473573441456
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: ObjectMixin, QGeoServiceProvider

Aggregates access to services which provide geographical information.

Source code in prettyqt\location\geoserviceprovider.py
class GeoServiceProvider(core.ObjectMixin, location.QGeoServiceProvider):
    """Aggregates access to services which provide geographical information."""

    def get_error(self) -> ErrorStr:
        return ERROR.inverse[self.error()]

    def get_geocoding_error(self) -> ErrorStr:
        return ERROR.inverse[self.geocodingError()]

    def get_geocoding_features(self) -> list[GeocodingFeatureStr]:
        return GEOCODING_FEATURES.get_list(self.geocodingFeatures())

    def get_mapping_error(self) -> ErrorStr:
        return ERROR.inverse[self.mappingError()]

    def get_mapping_features(self) -> list[MappingFeatureStr]:
        return MAPPING_FEATURES.get_list(self.mappingFeatures())

    def get_navigation_error(self) -> ErrorStr:
        return ERROR.inverse[self.navigationError()]

    def get_navigation_features(self) -> list[NavigationFeatureStr]:
        return NAVIGATION_FEATURES.get_list(self.navigationFeatures())

    def get_places_error(self) -> ErrorStr:
        return ERROR.inverse[self.placesError()]

    def get_places_features(self) -> list[PlaceFeatureStr]:
        return PLACES_FEATURES.get_list(self.placesFeatures())

    def get_routing_error(self) -> ErrorStr:
        return ERROR.inverse[self.routingError()]

    def get_routing_features(self) -> list[RoutingFeatureStr]:
        return ROUTING_FEATURES.get_list(self.routingFeatures())

    def get_geocoding_manager(self) -> location.GeoCodingManager:
        return location.GeoCodingManager(self.geocodingManager())

    def get_routing_manager(self) -> location.GeoRoutingManager:
        return location.GeoRoutingManager(self.routingManager())

    def get_place_manager(self) -> location.PlaceManager:
        return location.PlaceManager(self.placeManager())

⌗ Property table

Qt Property Type Doc
objectName QString