radarlabs / radar-sdk-js

Web JavaScript SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
42 stars 11 forks source link

Add option to enable high accuracy #102

Closed kochis closed 1 year ago

kochis commented 1 year ago

Adds a new option enableHighAccuracy for getCurrentPosition.

Usage

Radar.initialize('prj_test_pk_...', { enableHighAccuracy: true });

QA

disabled (default)

Screenshot 2023-06-21 at 2 36 54 PM

enabled

Screenshot 2023-06-21 at 2 36 03 PM