altos-mapd: Check nearest portion of tile to launch site
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 20:08:30 +0000 (14:08 -0600)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 20:08:30 +0000 (14:08 -0600)
commite7e1e805f1358052b33103a2ffdd4e9c435c8650
tree92cfbb2dc9a0aa3b7e824607eac763ebb11eac67
parent581f700e08ec8a1c3bfc5a09e7186676c54a5460
altos-mapd: Check nearest portion of tile to launch site

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>
map-server/altos-mapd/AltosMapd.java
map-server/altos-mapd/AltosMapdClient.java