From a101c2f3857be9d799b0ee5b2c7d04b61f9e2f18 Mon Sep 17 00:00:00 2001 From: MDN Date: Mon, 11 Oct 2021 00:51:25 +0000 Subject: [CRON] sync translated content --- .../api/geolocation/getcurrentposition/index.html | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 files/ko/conflicting/web/api/geolocation/getcurrentposition/index.html (limited to 'files/ko/conflicting') diff --git a/files/ko/conflicting/web/api/geolocation/getcurrentposition/index.html b/files/ko/conflicting/web/api/geolocation/getcurrentposition/index.html new file mode 100644 index 0000000000..a8436716ad --- /dev/null +++ b/files/ko/conflicting/web/api/geolocation/getcurrentposition/index.html @@ -0,0 +1,65 @@ +--- +title: PositionOptions +slug: conflicting/Web/API/Geolocation/getCurrentPosition +tags: + - API + - Geolocation API + - Interface + - PositionOptions + - Reference + - Secure context +translation_of: Web/API/PositionOptions +original_slug: Web/API/PositionOptions +--- +
{{securecontext_header}}{{APIRef("Geolocation API")}}
+ +

PositionOptions 인터페이스는 {{domxref("Geolocation.getCurrentPosition()")}}과 {{domxref("Geolocation.watchPosition()")}}의 매개변수로 전달할 옵션 속성을 포함한 개체를 나타냅니다.

+ +

속성

+ +

PositionOptions 인터페이스는 어떤 속성도 상속하지 않습니다.

+ +
+
{{domxref("PositionOptions.enableHighAccuracy")}} {{securecontext_inline}}
+
위치정보를 가장 높은 정확도로 수신하고 싶음을 나타내는 {{domxref("Boolean")}}입니다. 이 값이 true이고, 장치도 지원한다면 더 정확한 위치정보를 받을 수 있습니다. 그러나 느린 응답 속도와, 모바일 장치에서의 전력 소모량 증가는 주의해야 합니다. 반대로, 값이 false면 기기가 더 빠르게 반응하고 전력 소모도 줄일 수 있습니다. 기본값은 false입니다.
+
{{domxref("PositionOptions.timeout")}} {{securecontext_inline}}
+
기기가 위치를 반환할 때 소모할 수 있는 최대 시간을 밀리초로 나타내는 양의 long 값입니다. 기본값은 {{jsxref("Infinity")}}로, 위치정보를 알아낼 때까지 getCurrentPosition()의 성공 콜백을 호출하지 않습니다.
+
{{domxref("PositionOptions.maximumAge")}} {{securecontext_inline}}
+
캐시에 저장한 위치정보를 대신 반환할 수 있는 최대 시간을 밀리초로 나타내는 양의 long 값입니다. 0으로 설정하면 장치가 사전에 미리 저장한 위치를 사용하지 않고, 항상 현재 위치를 검색합니다. {{jsxref("Infinity")}}로 설정하면 지난 시간에 상관없이 캐시에 저장한 위치를 반환합니다. 기본값은 0입니다.
+
+ +

메서드

+ +

PositionOptions 인터페이스는 어떤 메서드도 구현하거나 상속하지 않습니다.

+ +

명세

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Geolocation', '#positionoptions', 'PositionOptions')}}{{Spec2('Geolocation')}}Initial definition
+ +

브라우저 호환성

+ + + +

{{Compat("api.PositionOptions")}}

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf