var southWest = new google.maps.LatLng(42.639497406239926,
-72.823620202771);
  var northEast = new google.maps.LatLng(42.54699229637924,
-72.603893640271);
  var bounds = new google.maps.LatLngBounds(southWest, northEast);

  geocoder.geocode(
                   { 'address': $("#address").val(),'bounds':
bounds },
                   function (results, status) {}
                  );


Still I am not getting the desired result.
Can you help?

Thanks in advance...
Nitin Murkute


On Jul 13, 4:01 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > Can somebody explain me why results on maps.google.com differs from
> > the example 
> > onhttp://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder...
>
> FAQhttp://code.google.com/apis/maps/faq.html#geocoder_differences
>
> > Is it anything to do with bounds or viewport specification? If yes how
> > you specify it in api?
>
> Viewport 
> biasinghttp://code.google.com/apis/maps/documentation/javascript/services.ht...
> Region 
> biasinghttp://code.google.com/apis/maps/documentation/javascript/services.ht...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to