(self, bounds: Bounds)
Loads the vector tiles from either a file or a URL and adds them to QGIS
        :param bounds:
        :return:
Loads the vector tiles from either a file or a URL and adds them to QGIS
        :param bounds:
        :return:
Loads the vector tiles from either a file or a URL and adds them to QGIS : param bounds : : return :
def load_tiles_async(self, bounds: Bounds):
        """
        Loads the vector tiles from either a file or a URL and adds them to QGIS
        :param bounds:
        :return: 
        """
        zoom_level = bounds.zoom()
        info("Loading zoom level '{}', bounds: {}", zoom_level, bounds)
        self._loading_options["zoom_level"] = zoom_level
        self._loading_options["bounds"] = bounds
        # todo: better use QGIS 3 tasks for this
        _worker_thread = QThread(self.iface.mainWindow())
        self.moveToThread(_worker_thread)
        _worker_thread.started.connect(self._load_tiles)
        _worker_thread.start()
def load_tiles_async ( self , bounds : Bounds ) : zoom_level = bounds . zoom ( ) info ( "Loading zoom level '{}', bounds: {}" , zoom_level , bounds ) self . _loading_options [ "zoom_level" ] = zoom_level self . _loading_options [ "bounds" ] = bounds # todo: better use QGIS 3 tasks for this _worker_thread = QThread ( self . iface . mainWindow ( ) ) self . moveToThread ( _worker_thread ) _worker_thread . started . connect ( self . _load_tiles ) _worker_thread . start ( )