Geo location emulation in Chrome with move

My question is based on the Chrome GeoLocation spoofer, which allows me to swap places to test my nodejs application. The problem is that it is designed to leave a “trace” after the history of movements. I’m really annoyed to introduce new consoles in the Chrome console every time I have to move.

Could you tell me the place / addon / code fragment where I can adjust 10-20 coordinates in a circle (using a loop) and make the emulation follow these coordinates every few seconds. So, can I finally simulate the movement and continue to develop the trace function from the front point of view?

My point: I need a real trigger, and Chrome gives us the perfect option, but I have to get the little guy moving.

+6
source share
1 answer

If you have a Mac, Xcode has a moving GPS simulator. Download Xcode (free on the Mac App Store) and launch iOS Simulator. Open Safari in the simulator. Then, from the Simulator Debug menu, select “Location,” and then select one of three moving simulations. Alas, they are all located in the San Francisco Bay Area. The "Custom Location" option allows you to insert only one coordinate, not a series of them.

You can even ask a friend with a Mac to simply open their web application in their iOS simulator and let it work while they do other things.

enter image description here

+1
source

Source: https://habr.com/ru/post/981145/


All Articles