1024programmer Java Google Earth Engine (GEE) – Map.style() lets you program the cursor into a crosshair

Google Earth Engine (GEE) – Map.style() lets you program the cursor into a crosshair

Map.style()

Returns the Map’s style ActiveDictionary, which can be modified to update the Map’s styles.

In addition to the standard UI API styles listed in the ui.Panel.style() documentation, the Map supports the following custom style option:

– cursor, which can be ‘crosshair’ or ‘hand’ (default)

Returns the map’s style ActiveDictionary, which can be modified to update the map’s style.

In addition to the standard UI API styles listed in the ui.panel.style() documentation, Maps supports the following custom style options.

– Cursor, can be “crosshair” or “hand” (default).

No arguments.

Returns: ui.data.ActiveDictionary

Code:

var fCol = ee.FeatureCollection("users/landusers/province");
var roi = ee.Geometry.Point([116.387928, 40.00649]);
var sCol = fCol.filterBounds(roi);
Map.centerObject(roi, 6);
//The color filled here is blank
var styling = {color: 'blue'

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/764809

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索