Announcement: On November 13, 2024, all users will need to use a Cloud project in order to access Earth Engine. After this date, continued individual access without a Cloud project will require an exception.
Stay organized with collections
Save and categorize content based on your preferences.
Sets the value of the page's URL fragment. The fragment encodes a dictionary of keys and values. If a dictionary is supplied as the first argument, the key/value pairs in that dictionary will be encoded and replace the current URL fragment. If a key string is provided, then only that key (and its value, the second argument) are updated, and the rest of the URL fragment is unchanged.
Usage
Returns
ui.url.set(keyOrDict, value)
Argument
Type
Details
keyOrDict
Dictionary
Either a key to update a single value in the URL fragment, or a dictionary of key/value pairs which will replace the existing URL fragment. Dictionary values must be of type string, number, or boolean.
value
Boolean|Number|String, optional
The new value to associate with a single key. This is required when the first argument is a string and is otherwise ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Updates or replaces the page's URL fragment, which stores data as key-value pairs."],["Accepts either a dictionary to replace the entire fragment or a key-value pair to update a single entry."],["Dictionary values must be strings, numbers, or booleans for encoding."],["When updating a single key, the `keyOrDict` argument specifies the key and the `value` argument provides the new value."]]],[]]