[TIMOB-23534] ReverseGeocoder Not getting the real address
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | reversegeocoder |
Reporter | Rodrigo Macazaga |
Assignee | Unknown |
Created | 2016-06-10T01:02:34.000+0000 |
Updated | 2018-02-28T19:54:51.000+0000 |
Description
The address for that lat and long values is:
701 N Vista Ridge Blvd
Cedar Park, TX 78613
30.527807, -97.792323
// try to get address
Titanium.Geolocation.reverseGeocoder(30.527935, -97.792357, function(evt) {
//here we will store address information
if (evt.success) {
var places = evt.places;
alert(JSON.stringify(places));
if (places && places.length) {
street = places[0].street;
cCityChannel = places[0].city;
country = places[0].country_code;
} else {
cCityChannel = '';
address = "No address found";
}
}
});
Also with other positions i get different address. Using google api returns a correct value.
With that lat and long position i´m getting this address: 2401 Hollis Ln Cedar Park, TX 78613 30.526457, -97.792140
Hello, I am able to reproduce this issue with given code and given step. For the lat long Google Map gives the following address. 701 N Vista Ridge Blvd Cedar Park, TX 78613 30.527807, -97.792323 [Screenshot](https://i.imgsafe.org/cfcb82eac7.png) But following codes with
Titanium.Geolocation.reverseGeocoder
gives this address: 2401 Hollis Lane Cedar Park, TX 78613 30.526457, -97.792140 *Code:**Console Log:*
*Environment*: *Device info:* Nexus7 (android 6.0.1) *Node.js Version:* 0.12.7 *npm Version:* 2.11.3 *Titanium SDKs:* 5.3.0.GA *Java Development Kit Version:* 1.8.0_73 *Titanium CLI Version:* 5.0.6 *Appcelerator CLI Version:* 5.2.2 *Appcelerator Studio:* 4.5.0