Added methods to calculate optimal map size given a geo boundary.

- From zoom level 20 to 1, once find a size that contains the whole boundary, then the size will be used to retrieve map image from google

#story[928]
This commit is contained in:
Haoming Yin
2017-05-15 19:57:23 +12:00
parent eda3d76077
commit 8dec458ba9
6 changed files with 75 additions and 24 deletions
@@ -1,5 +1,9 @@
package seng302.models.map;
/**
* A class represent euclidean planar point (x, y)
* Created by Haoming on 15/5/2017
*/
class MapPoint {
private double x, y;