Skip to content
Snippets Groups Projects
mapvisualization.py 68.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • Benjamin Jakimow's avatar
    Benjamin Jakimow committed
            Returns the QgsCoordinateReferenceSystem
            :return: QgsCoordinateReferenceSystem
            """
            return self.mCRS
    
    Benjamin Jakimow's avatar
    Benjamin Jakimow committed
    
    
    Benjamin Jakimow's avatar
    Benjamin Jakimow committed
        def spatialExtent(self)->SpatialExtent:
            """
            Returns the SpatialExtent
            :return: SpatialExtent
            """
    
    Benjamin Jakimow's avatar
    Benjamin Jakimow committed
    
    
    Benjamin Jakimow's avatar
    Benjamin Jakimow committed
        def navigateToTSD(self, TSD:TimeSeriesDatum):
            """
            Changes the viewport of the scroll window to show the requested TimeSeriesDatum
            :param TSD: TimeSeriesDatum
            """
            assert isinstance(TSD, TimeSeriesDatum)
            #get widget related to TSD
            tsdv = self.DVC.tsdView(TSD)
            assert isinstance(self.scrollArea, QScrollArea)
            self.scrollArea.ensureWidgetVisible(tsdv.ui)