Minor coord fix

This commit is contained in:
misaochan 2016-01-05 18:31:39 +13:00
parent dcd5d60002
commit ffe967b623
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ public class GPSExtractor {
}
//Have to return Longitude before Latitude for X/Y conversion. Long = X; Lat = Y
return ("Long|Lat" + String.valueOf(decLongitude) + "|" + String.valueOf(decLatitude));
return (String.valueOf(decLongitude) + "|" + String.valueOf(decLatitude));
}
private double convertToDegree(String stringDMS){

View file

@ -186,7 +186,7 @@ public class ShareActivity
String coords = imageObj.getCoords();
if (coords != null) {
Log.d("Image", "Coords of image: " + coords);
Log.d("Image", "Coords of image in Long/Lat: " + coords);
//TODO: Insert cache query here, only send API request if no cached categories
CacheController cacheObj = new CacheController(this, coords);