mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
8f93956ff1
- 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]
32 lines
419 B
Java
32 lines
419 B
Java
package seng302.models.map;
|
|
|
|
/**
|
|
* A class represent Geo location (latitude, longitude).
|
|
* Created by Haoming on 15/5/2017
|
|
*/
|
|
class MapGeo {
|
|
|
|
private double lat, lng;
|
|
|
|
MapGeo(double lat, double lng) {
|
|
this.lat = lat;
|
|
this.lng = lng;
|
|
}
|
|
|
|
double getLat() {
|
|
return lat;
|
|
}
|
|
|
|
void setLat(double lat) {
|
|
this.lat = lat;
|
|
}
|
|
|
|
double getLng() {
|
|
return lng;
|
|
}
|
|
|
|
void setLng(double lng) {
|
|
this.lng = lng;
|
|
}
|
|
}
|