Android: Maps - Best way to provide 'search for location' feature?

Posted by r3mo on Stack Overflow See other posts from Stack Overflow or by r3mo
Published on 2011-01-31T15:23:27Z Indexed on 2011/01/31 15:26 UTC
Read the original article Hit count: 180

Filed under:
|
|

Hello all,

I've got an android app that uses a map activity and serves up content based on map location.

I'm looking for a way to allow the user to search for a location by name (anything from 'New York' to 'Eiffel Tower') - e.g. have a text input field into which they could type 'Rome' - after pressing a button, the user would be brought to the coordinates of Rome on the map. What would be the best way to go about this?

I've looked into the google geocoding api (http://code.google.com/apis/maps/documentation/geocoding/), but it has limitations of 2,500 geolocation requests per day - I'm presuming this is per API key? Or is it per user/source IP? 2,500 requests for one android app woudln't last long.

Ideally, I would be able to search for English and foreign names of countries.

Thanks in advance! r3mo

© Stack Overflow or respective owner

Related posts about android

Related posts about google-maps