nigel_ngl2

Zooming to a point from a search result

Discussion created by nigel_ngl2 on Feb 3, 2013
Latest reply on Apr 22, 2013 by fandre12345
Hi,
I have a search bar where it searches for results on a web service and displays the results on the map. However i want to zoom to the results. The results i get are stored in an array. So if i get one result, then the map should zoom to that point. But if the results are more than one then the map should zoom to an envelope such that both/ (whatever the search results) are encapsulated.
I have taken help from the ArcGis queryTask sample for android to get results in an array.
can anyone help?
Reagrds Nigel.

Outcomes