# 需要导入模块: from qgis.core import QgsCoordinateReferenceSystem [as 别名]# 或者: from qgis.core.QgsCoordinateReferenceSystem importcreateFromEpsg[as 别名]defviewport_geo_array(map_canvas):"""Obtain the map canvas current extent in EPSG:4326. :param map_canvas: A map canvas instance. :type...