{ "id": "152130", "key": "AC-471", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-11-05T08:35:19.000+0000", "created": "2015-10-16T20:20:24.000+0000", "labels": [ "android", "api", "defect", "geocoder" ], "versions": [], "issuelinks": [ { "id": "49635", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "152549", "key": "AC-1188", "fields": { "summary": "reverseGeocoder swap longitude with latitude", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-05T08:35:19.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Using both {{Ti.Geolocation.forwardGeocoder}} and {{Ti.Geolocation.reverseGeocoder}} return latitude and longitude swapped. {{Ti.Geolocation.getCurrentPosition}} works as expected. The geocoder return value is correct on iOS.\r\n\r\nI noticed that the geolocation API went down a couple weeks ago, and came back up returning differently-formatted results. I'm not sure if it's because I upgraded to 5.0.2.GA, but I think it's a bit weird in general that the return values from this API are different depending on the platform (at least iOS vs Android).\r\n\r\n\r\nReproducing the issue:\r\n{code} Ti.Geolocation.forwardGeocoder('Cleveland, OH'); {code}\r\n\r\nExpected results:\r\n{code} {\"latitude\":\"41.5051613\",\"longitude\":\"-81.6934446\"} {code}\r\n\r\nActual results:\r\n{code} {\"latitude\":\"-81.6934446\",\"longitude\":\"41.5051613\"} {code}", "attachment": [], "flagged": false, "summary": "Android geocoder returns latitude & longitude swapped", "creator": { "name": "cr0ybot", "key": "cr0ybot", "displayName": "Cory Hughart", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cr0ybot", "key": "cr0ybot", "displayName": "Cory Hughart", "active": true, "timeZone": "America/New_York" }, "environment": "Android 5.1.1\r\nMotorola Nexus 6\r\nTitanium SDK 5.0.2.GA", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }