puppeteer/website/versioned_docs/version-22.6.3/api/puppeteer.geolocationoptions.md

90 lines
694 B
Markdown
Raw Normal View History

---
sidebar_label: GeolocationOptions
---
# GeolocationOptions interface
#### Signature:
```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>
accuracy
</td><td>
`optional`
</td><td>
number
</td><td>
Optional non-negative accuracy value.
</td><td>
</td></tr>
<tr><td>
latitude
</td><td>
</td><td>
number
</td><td>
Longitude between `-180` and `180`.
</td><td>
</td></tr>
<tr><td>
longitude
</td><td>
</td><td>
number
</td><td>
Latitude between `-90` and `90`.
</td><td>
</td></tr>
</tbody></table>