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'