Google Earth Engine APP(GEE)—— 一个简单的加载影像的UI(RGB,NDWI和NDVI)这里使用时间滑块进行时间选择

本博客主要的目的是进行UI基本界面的设计用于图层加载,主要是影像的加载和时间选择器以及两个按钮的选择,其中还可以按钮隐藏整个面板。这里有几个函数是时间滑块和复选框用于时间选择。这里通过点击空间可以隐藏面板,所以我们可以通过按钮中的style进行设定,这个函数每一个控件中都有显示。

ui.DateSlider(startendvalueperiodonChangedisabledstyle)

A draggable target that ranges linearly between two dates. The date slider can be configured to display dates of various interval sizes, including day, 8-day, and year. The value of the slider is displayed as a label alongside it.

Arguments:

start (Date|Number|String, optional):

The start date, as a UTC timestamp, date string, or ee.Date. Defaults to one week ago.

end (Date|Number|String, optional):

The end date, as a UTC timestamp, date string, or ee.Date. Defaults to today.

value (Date|Number|String, optional):

The initial value. The value is an array consisting

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/130354191