Reputation: 5644
I want to show list of orders with exact location of the customer in listview.
Upvotes: 1
Views: 428
Reputation: 614
This may help you. Use it same as image and replace image url with this url and pass you lat/long.
AQuery aq = new AQuery(activity);
String url = "http://maps.googleapis.com/maps/api/staticmap?zoom=12&size=560x370&markers=size:mid|color:red|"
+ item.getLattitude()
+ ","
+ item.getLongitude()
+ "&sensor=false";
aq.id(ImageView).image(url, true, true, 0,
0, null, AQuery.FADE_IN);
Upvotes: 1