当前位置:网站首页>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被拉伸时,可用的空间会在它们之间平分。面板是小部件本身,可以
边栏推荐
- 【毕业季·进击的技术er】绕树三匝,何枝可依?
- What is the knowledge map? What does it do
- Network monitoring: active troubleshooting becomes simple
- 腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...
- Tencent's open source project "Yinglong" has become a top-level project of Apache: the former long-term service wechat payment can hold a million billion level of data stream processing
- Learn to use the kindeditor rich text editor. Click to upload a picture. The mask is too large or the white screen solution
- js数组求和的5种方法
- Several stacks of technology sharing: product managers' Online Official answers to several stacks of knowledge
- Understanding of homogeneous coordinates
- [Qianfan 618 countdown!] IAAs operation and maintenance special preferential activities
猜你喜欢

Differences among cookies, session, localstorage and sessionstorage

Fashionable pop-up mode login registration window

Any 与 TypeVar,让 IDE 的自动补全更好用
![[activities this Saturday] NET Day in China](/img/33/c0e8eeb8f673232a7c27bbaf5e713f.jpg)
[activities this Saturday] NET Day in China

P5.js paper crane animation background JS special effect

SQL Server about like operator (including the problem of field data automatically filling in spaces)

喜歡就去行動

Window function row in SQL Server_ number()rank()dense_ rank()

MYSQL_精讲数据库数据类型

@Requestbody annotation
随机推荐
喜欢就去行动
Today in history: Turing's birth day; The birth of the founder of the Internet; Reddit goes online
Learn to use the kindeditor rich text editor. Click to upload a picture. The mask is too large or the white screen solution
服乔布斯不服库克,苹果传奇设计团队解散内幕曝光
A method of generating non repeated numbers in nodejs
Tencent wetest platform will bring new benefits in 2021 with 618 special offers!
First acquaintance with string+ simple usage (I)
Common third-party UI frameworks
Clickhouse deployment and basic usage 1
Svg+js drag slider round progress bar
Detailed explanation of SQL Sever basic data types
Déplacer Tencent sur le cloud a guéri leur anxiété technologique
Today's sleep quality record 76 points
Besides technology, programmers also need to master a skill - self marketing ability
Why use a firewall? What is the function of firewall?
[IEEE] International Conference on naturallanguageprocessing and information retrieval (ecnlpir 2022)
How to use data analysis tools to deal with emergencies in retail industry
Cool interactive animation JS special effects implemented by p5.js
Preparation for a series of courses on WordPress applet generation
2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!