android-reverse geocoding-Google Map API (geocoding) -


i'm developing android app use google reverse geocoding api webservice in user side, user read address in text format. httpget httpget = new httpget( "http://maps.googleapis.com/maps/api/geocode/json?latlng=" + lat + "," + lng + "&sensor=true");

i have following 3 questions:

1-do have use map in app?, i'm displaying location in text user , don't want map in app? https://developers.google.com/maps/terms#section_10_1 "(h) no use of content without google map. must not use or display content without corresponding google map, unless explicitly permitted in maps apis documentation"

2-is must include api key @ app side part of calling webservice?

3-am expected establish enterprise agreement google, , client_id , include in request sent end user? https://developers.google.com/maps/terms#section_9_1

to answer questions:

1) think can use without using maps, for, in api doc said:

the google geocoding api provides direct way access these services via http request. https://developers.google.com/maps/documentation/geocoding/#geocoding

2) need api key using service, works without using 1 (not recommended). refer section more information.

all maps api applications* should load maps api using api key. using api key enables monitor application's maps api usage, , ensures google can contact application if necessary. https://developers.google.com/maps/documentation/javascript/tutorial#api_key

3) client_id, think don't need unless have to.. https://developers.google.com/maps/documentation/business/


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -