静态
enableIf enableHighAccuracy
set to true, and if the device can provide a more accurate location, it will get the best possible results.
Note that this may lead to slower response times or increased power consumption (such as when using GPS).
On the other hand, if set to false, it will get faster response and less power consumption.
The default value is false.
静态
maximum静态
PERMISSION_静态
POSITION_静态
supported静态
timeout静态
TIMEOUT
En
A class that encapsulates Geolocation-related functionalities can check if the browser supports the Geolocation API by using
Geolocation.supported
.Zh
封装了地理位置相关功能的类,可以通过
Geolocation.supported
查看浏览器是否支持地理位置API。