Based on the following code, I want to show a geemap in pyqt5
class NewMap(QWidget):
def __init__(self):
super().__init__()
self.setMinimumSize(QSize(600, 650))
self.setWindowTitle("open image")
self.setGeometry(350, 60, 500, 470)
ee.Initialize()
image = ee.ImageCollection('COPERNICUS/S2') \
.filterDate('2018-09-01', '2018-09-30') \
.map(lambda img: img.divide(10000)) \
.median()
vis_params = [
{'bands': ['B4', 'B3', 'B2'], 'min': 0, 'max': 0.3, 'gamma': 1.3},
{'bands': ['B8', 'B11', 'B4'], 'min': 0, 'max': 0.3, 'gamma': 1.3},
{'bands': ['B8', 'B4', 'B3'], 'min': 0, 'max': 0.3, 'gamma': 1.3},
{'bands': ['B12', 'B12', 'B4'], 'min': 0, 'max': 0.3, 'gamma': 1.3}
]
labels = [
'Natural Color (B4/B3/B2)',
'Land/Water (B8/B11/B4)',
'Color Infrared (B8/B4/B3)',
'Vegetation (B12/B11/B4)'
]
geemap.linked_maps(rows=2, cols=2, height="400px", center=[38.4151, 21.2712],
zoom=12,
ee_objects=[image], vis_params=vis_params, labels=labels,
label_position="topright")
It also cannot be added to the geemap.Map() how can i show geemap.liked_maps in pyqt5?