공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.url.set
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
페이지의 URL 프래그먼트 값을 설정합니다. 이 프래그먼트는 키와 값의 사전을 인코딩합니다. 사전이 첫 번째 인수로 제공되면 해당 사전의 키/값 쌍이 인코딩되어 현재 URL 프래그먼트를 대체합니다. 키 문자열이 제공되면 해당 키 (및 값인 두 번째 인수)만 업데이트되고 URL 프래그먼트의 나머지는 변경되지 않습니다.
사용 | 반환 값 |
---|
ui.url.set(keyOrDict, value) | |
인수 | 유형 | 세부정보 |
---|
keyOrDict | Dictionary<Object>|String | URL 프래그먼트의 단일 값을 업데이트하는 키 또는 기존 URL 프래그먼트를 대체하는 키/값 쌍의 사전입니다. 사전 값은 문자열, 숫자 또는 불리언 유형이어야 합니다. |
value | Boolean|Number|String, 선택사항 | 단일 키와 연결할 새 값입니다. 첫 번째 인수가 문자열인 경우에 필요하며, 그렇지 않으면 무시됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003e\u003ccode\u003eui.url.set\u003c/code\u003e lets you modify the URL fragment, which stores data as key-value pairs.\u003c/p\u003e\n"],["\u003cp\u003eYou can either replace the entire fragment with a new dictionary or update a single key's value.\u003c/p\u003e\n"],["\u003cp\u003eDictionary values in the URL fragment must be strings, numbers, or booleans.\u003c/p\u003e\n"]]],[],null,["# ui.url.set\n\n\u003cbr /\u003e\n\nSets 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.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------|---------|\n| `ui.url.set(keyOrDict, `*value*`)` | |\n\n| Argument | Type | Details |\n|-------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `keyOrDict` | Dictionary\\\u003cObject\\\u003e\\|String | 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. |\n| `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. |"]]