altos-mapd: Add geo-fencing for map requests. Add port and key arguments
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 02:33:51 +0000 (19:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 02:48:41 +0000 (19:48 -0700)
commite7c0bcd945f8365e86e99b9d450f3a3389fa0e66
treee2f2945b50004313000e2d063f0c00486ce11513
parentc7b1f3c6722ae59d09a888084075664446ff2768
altos-mapd: Add geo-fencing for map requests. Add port and key arguments

Map requests are now limited to a region within 17km of any registered
launch site.

The --port argument allows the listen port to be changed.

The --key argument provides the name of a file containing the Google
maps API key.

Signed-off-by: Keith Packard <keithp@keithp.com>
map-server/altos-mapd/AltosMapd.java
map-server/altos-mapd/AltosMapdClient.java
map-server/altos-mapd/AltosMapdServer.java