spawnScan icon indicating copy to clipboard operation
spawnScan copied to clipboard

Create WorkerLocationGenerator.html

Open tcoliver opened this issue 9 years ago • 6 comments

tl;dr - I made a GUI to get worker location coordinates.

This Location Generator is a modified version of the this one taken from bunzosteele/PokeWatch.

I made a few changes/upgrades so that users can graphically draw their areas to be scanned. The user begins by right clicking on the map and selecting "Add Area." The areas which are created are both resizable and removable. Once the user is satisfied with their locations, he/she can right click and copy those locations to the clipboard in a format that can be directly pasted into the config.json file.

As with your other two maps, the user is required to enter their own google maps API key and can select a start location if they wish.

Here's a screenshot:

screenshot

tcoliver avatar Aug 19 '16 23:08 tcoliver

This is great! Thanks.

imatimba avatar Aug 20 '16 14:08 imatimba

This is amazing! I can't thank you enough, sincerely. I wish I had it the other night when I was making like ten boxes using latlong.net lol. So much faster!

Much appreciate :+1:

Zentriert avatar Aug 21 '16 18:08 Zentriert

Was about to do this, then saw your PR XD.

RedSparr0w avatar Aug 24 '16 05:08 RedSparr0w

Strange seems to work fine for me (Chrome v52 | Windows 10)

Which broswer did you try it on.

RedSparr0w avatar Aug 25 '16 00:08 RedSparr0w

That's interesting. I did some more testing and it seems to be a MacOS issue. I am running MacOS 10.11.5 and Chrome v52. I tried it on a Window's 7 computer and it worked fine.

So, I'm going to make the addition, as it works for most users and doesn't actually break the functionality for Mac users (it just means you can't drag any more).

Thanks for the heads up!

tcoliver avatar Aug 25 '16 03:08 tcoliver

Hmm that is a very strange bug XD. At least it works on 1 system and just reverts to as before for mac.

RedSparr0w avatar Aug 26 '16 22:08 RedSparr0w