Google Earth Engine(GEE)——添加两个时间滑块分别在控制台和地图上

很多时候我们需要通过时间话快来选择时间,从而加载指定时间的影像,今天我们选择两种方式进行加载,分别加载时间滑块在控制台和地图上,注意在地图上添加时需要添加一个面板,然后通过面板加载时间滑块

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 of the start and end date for the sele

猜你喜欢

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