--emulate-geolocation
- CLI
- --emulate-geolocation
Sets the position the Geolocation API reports, as a geo URI. u= sets the accuracy in meters.
Example
zshot -f page.png \
--emulate-geolocation "geo:40.9616,-76.6177;u=10" \
https://zshot-cli.com/example_assets/whereami/{
"url": "https://zshot-cli.com/example_assets/whereami/",
"output_type": "png",
"emulate_geolocation": "geo:40.9616,-76.6177;u=10"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/whereami/","output_type":"png","emulate_geolocation":"geo:40.9616,-76.6177;u=10"}' \
-o page.png