bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

Update jquery.storelocator.js #28

Closed ollea closed 10 years ago

ollea commented 10 years ago

Add the possibility to specify the "region" parameter to the Google Maps API : https://developers.google.com/maps/documentation/javascript/geocoding?hl=FR#GeocodingRegionCodes

If "region" parameter is specified the results returned when searching a place using the input field are more accurate.

bjorn2404 commented 10 years ago

Very nice, I was not aware this could be done. I'm in the middle of making updates and have re-structured the files, so I'm not going to merge this but I'll definitely add the code in. One of the things on my list was to look into adding a region biasing setting and it looks like this will cover it. Thanks.