Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Select tableView row and change map location to latitude and longitude custom properties of the row

$
0
0

Hello, I have a table view with several places; when the user selects a place a map view change the location to the user selction. To do this I created custom properties for each row, named "latitude" and "longitude", when the user selects a row I have a "setLocation(latitude:e.rowData.latitude, longitude:e.rowData.longitude); on iPhone it works fine, but on Android it seems like it can't get the custom properties. I tried with e.source instead of e.rowData, but nothing! The crazy thing is that if I try to alert another custom variable there are no problems, but if i try even just alerting "e.source.latitude" or "e.source.longitude" the app crashes. I tried changing the custom properties to "latitudine" e "longitudine" to avoid conflicts with latitude and longitude dafault properties of map view, but nothing! Please can someone help me with this? Suggestions?


Viewing all articles
Browse latest Browse all 8068

Trending Articles