summaryrefslogtreecommitdiff
path: root/map-server/altos-mapd/AltosMapdClient.java
Commit message (Collapse)AuthorAge
* altos-mapd: Check nearest portion of tile to launch siteKeith Packard2018-10-07
| | | | | | | | We limit tile queries to those within 17km of a known launch site. Change the check to look at the portion of the tile nearest each launch site, instead of only checking the center location of the tile. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Handle clients failing to send valid JSONKeith Packard2018-10-07
| | | | | | Just bail if the data we receive doesn't generate a json value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Clean up log messagesKeith Packard2018-10-06
| | | | | | | Generate a single log message per request with remote address, parameters and result code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Add geo-fencing for map requests. Add port and key argumentsKeith Packard2018-10-06
| | | | | | | | | | | | 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: Add maps proxy serverKeith Packard2018-10-06
This creates a map proxy server to handle the new Google Maps API requirements Signed-off-by: Keith Packard <keithp@keithp.com>