mirror of
https://github.com/bspeice/itcs4180
synced 2024-12-04 21:28:10 -05:00
Add a location image to the RestLocation
This commit is contained in:
parent
2813af334c
commit
9df7d34430
@ -18,6 +18,7 @@ public class RestLocation implements Serializable{
|
||||
private String riddle;
|
||||
private double locationLong;
|
||||
private double locationLat;
|
||||
private String locationImageURL;
|
||||
private String key;
|
||||
|
||||
public int getId() {
|
||||
@ -57,6 +58,12 @@ public class RestLocation implements Serializable{
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public String getLocationImageURL() {
|
||||
return locationImageURL;
|
||||
}
|
||||
public void setLocationImageURL(String locationImageURL) {
|
||||
this.locationImageURL = locationImageURL;
|
||||
}
|
||||
public Location getLocation() {
|
||||
android.location.Location mLocation = new android.location.Location("NinerFinderServer");
|
||||
mLocation.setLatitude(getLocationLat());
|
||||
|
Loading…
Reference in New Issue
Block a user