在地图上加载两个图表用于展示同期的sentinel-2和3影像,这里我们分别在地图上加载两个面板用于展示同一个区域同一时间段内的影像,如果想,我们可以加载更多的影像,当然在加载UI之前,我们首先要对影像进行处理。然后通过控件的链接完成影像在地图上的加载。这里函数相对比较次要,主要的问题是函数内部一些参数的设定,特别是面对影像集合的处理中,我们很多细节的设定。函数,这里主要展示主要i的控件设定的细节函数,传统的面板和按钮大家可以在GEE中自行获取。
ui.Thumbnail(image, params, onClick, style)
A fixed-size thumbnail image generated asynchronously from an ee.Image.
Arguments:
image (Image, optional):
The ee.Image from which to generate the thumbnail. Defaults to an empty ee.Image.
params (Object, optional):
For an explanation of the possible parameters, see ui.Thumbnail.setParams(). Defaults to an empty object.
onClick (Function, optional):
A callback fired when the thumbnail is clicked.
style (Object, optional):
An object of allowed CSS styles with their values t