On May 18, 6:07 am, Telaviva Telaviva <
telaviv...@gmail.com> wrote:
> Hello
>
> i am trying to work with the geocoding service
> i send 3 requests
>
>
http://maps.googleapis.com/maps/api/geocode/json?address=10+Jabotinsk...http://maps.googleapis.com/maps/api/geocode/json?address=99+Jabotinsk...http://maps.googleapis.com/maps/api/geocode/json?address=99+dizengoff...
>
> but get the same answer
>
> "geometry": {
> "location": {
> "lat": 32.0661570,
> "lng": 34.7778210
> },
>
> the point is not on any of these streets
> so probably a default answer
"formatted_address": "Tel Aviv, Israel",
"address_components": [ {
"long_name": "Tel Aviv",
"short_name": "Tel Aviv",
"types": [ "locality", "political" ]
}, {
"long_name": "Israel",
"short_name": "IL",
"types": [ "country", "political" ]
} ],
"geometry": {
"location": {
"lat": 32.0661570,
"lng": 34.7778210
},
"location_type": "APPROXIMATE",
That is probably why it is giving the "location_type": "APPROXIMATE".
and it looks like it is giving you Tel Aviv, Israel for all the
responses.
Note that the google maps APIs do not contain as much data as google
maps for contractual reasons.
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=Israel&qt_g=Search+this+group
-- Larry