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