Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If you were to do a reverse lookup for a region (States or Province) and that region happen to have a city with the same name, then Google geocoder will return the information on the city instead of the region.

How would you pass parameters to Google telling it that you are indeed interested in the region and not the city?

Calling Google WebAPI would be something like this:|country:MX&sensor=false

But instead, we want to call geocoder.

_geocoder = new google.maps.Geocoder();
_geocoder.geocode(request_dict, function(results, status) { ... }

How do you form the "request_dict"?

share|improve this question

migrated from Jun 6 '13 at 4:04

This question came from our discussion, support, and feature requests site for cartographers, geographers and GIS professionals.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.