puppeteer/docs/api/puppeteer.geolocationoptions.md

90 lines
776 B
Markdown
Raw Permalink Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: GeolocationOptions
---
# GeolocationOptions interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface GeolocationOptions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
<span id="accuracy">accuracy</span>
</td><td>
`optional`
</td><td>
number
</td><td>
Optional non-negative accuracy value.
</td><td>
</td></tr>
<tr><td>
<span id="latitude">latitude</span>
</td><td>
</td><td>
number
</td><td>
Longitude between `-180` and `180`.
</td><td>
</td></tr>
<tr><td>
<span id="longitude">longitude</span>
</td><td>
</td><td>
number
</td><td>
Latitude between `-90` and `90`.
</td><td>
</td></tr>
</tbody></table>