From b9c34049416843491a079ae40984ff1fc4963951 Mon Sep 17 00:00:00 2001 From: Antonio Sartori Date: Wed, 4 Feb 2026 11:56:26 +0100 Subject: [PATCH] Set enableHighAccuracy=true when requesting position --- geolocation-element.bs | 2 +- geolocation-element.html | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/geolocation-element.bs b/geolocation-element.bs index 1a92a83..09091f9 100644 --- a/geolocation-element.bs +++ b/geolocation-element.bs @@ -371,7 +371,7 @@ To fetch location: 1. Set [=this=]'s {{[[positionError]]}} to {{PositionCallback}}'s positionError argument. 1. [=Dispatch onlocation=] to [=this=]. -1. Let |positionOptions| be «[]» +1. Let |positionOptions| be «[ "{{PositionOptions/enableHighAccuracy}}" → true ]». 1. Let |geolocation| be the [=relevant global object=]'s {{Geolocation}}. 1. If [=this=]'s {{HTMLGeolocationElement/watch}} is true: 1. [=Request a position=] with |geolocation|, |positionCallback|, diff --git a/geolocation-element.html b/geolocation-element.html index 4ccd29b..e07f77a 100644 --- a/geolocation-element.html +++ b/geolocation-element.html @@ -6,7 +6,7 @@ - +