当前位置:网站首页>Google Earth Engine(GEE)—如何新增一个图例在Map面板
Google Earth Engine(GEE)—如何新增一个图例在Map面板
2022-06-24 09:58:00 【此星光明2021年博客之星云计算Top3】
这里我们将使用一个我们所熟悉的知识对图例进行添加到面板,这样是我们再进行在线看图的过程中能更好的识别出来是哪种地物:
这里需要的函数:
ui.Panel(widgets, layout, style)
一个可以容纳其他小组件的小组件。使用面板来构建嵌套部件的复杂组合。
面板可以被添加到ui.root中,但不能用print()打印到控制台。
参数。
widgets (List<ui.Widget>|ui.Widget, optional):
要添加到面板上的部件的列表或单个部件。默认为一个空数组。
layout (String|ui.Panel.Layout, optional):
这个面板要使用的布局。如果传入一个字符串,它将被当作该名称的布局构造函数的快捷方式。默认为'flow'。
style (Object, optional):
一个允许的CSS样式的对象,其值要为这个小组件设置。参见style()文档。
返回: ui.Panel
ui.Panel.Layout.flow(direction, wrap)
返回一个布局,该布局将其部件放在一个流中,无论是水平还是垂直。
默认情况下,小组件在一个流式布局面板中占据其自然空间。在一个添加的部件上设置 "拉伸 "样式属性,以拉伸它来填补相关方向上的可用空间。
水平、垂直、两者
当多个widget被拉伸时,可用的空间会在它们之间平分。面板是小部件本身,可以
边栏推荐
- When the data security law comes, how can enterprises prepare for a rainy day? Tencent security has something to say
- Moving Tencent to the cloud cured their technical anxiety
- 程序员大部分时间不是写代码,而是。。。
- TP-LINK 1208路由器教程(2)
- 【毕业季·进击的技术er】绕树三匝,何枝可依?
- How to make a good video? What are the operation methods?
- Maui's way of learning -- Opening
- Fais ce que tu veux.
- [latest - lightweight cloud servers - hot sales] new lightweight application server optimization scheme, 1-core 2g5m time limit as low as 99 yuan / year
- 2008R2 precautions for configuring L2TP pre shared key VPN
猜你喜欢
![[graduation season · attacking technology Er] three turns around the tree, what branch can we rely on?](/img/0a/0ebfa1e5c1bea6033b538528242252.png)
[graduation season · attacking technology Er] three turns around the tree, what branch can we rely on?

"One good programmer is worth five ordinary programmers!"

Maui's way of learning -- Opening

MYSQL_ Elaborate on database data types

喜歡就去行動

Group counting_ Structure and workflow of CPU

把騰訊搬到雲上,治愈了他們的技術焦慮

Differences among cookies, session, localstorage and sessionstorage

使用Process Monitor工具监测进程对注册表和文件的操作

【本周六活动】.NET Day in China
随机推荐
Learn how to use PHP to filter special symbols in strings
I just did it! Visualization of character relationships in Douluo continent
The record of 1300+ times of listing and the pursuit of ultimate happiness
Remote desktop copy paste exception
Visual presentation of pictures effectively enhances the attraction of large screen
[graduation season · attacking technology Er] three turns around the tree, what branch can we rely on?
math_等比数列求和推导&等幂和差推导/两个n次方数之差/
如何开发短信通知和语音功能医院信息系统(HIS系统)
Detailed explanation of SQL Sever basic data types
Which is a good CAD drawing software? How to select good software
Many of my friends asked me what books and online classes I recommended. This time, I contributed all the materials that I had been hiding for a long time (Part 1)
System design: load balancing
"One good programmer is worth five ordinary programmers!"
服乔布斯不服库克,苹果传奇设计团队解散内幕曝光
喜欢就去行动
The nodejs service global timeout callback failed to get process Domain problem
[Flink source code practice (I)] add a rest API to Flink
Self service troubleshooting guide for redis connection login problems
[the lottery in May has ended, and the list of winners has been announced] special session of techo youth university open course database
初识string+简单用法(一)