reactivesearch icon indicating copy to clipboard operation
reactivesearch copied to clipboard

maps: GeoDistanceDropdown Allow to set Google maps Restrictions by countries

Open abathellier opened this issue 8 years ago • 3 comments

Enhancement: Currently autocompletion is global, allow to set Google maps Restriction to limit places autocompletion by countries for GeoDistanceSliderand GeoDistanceDropdown.

In gmaps doc: autocomplete.setComponentRestrictions({'country': countries}); see https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-multiple-countries

Platform: Web

abathellier avatar Aug 01 '18 16:08 abathellier

This is pretty neat. Open to accepting PRs on this, if you or anyone wants to take this up.

metagrover avatar Aug 03 '18 06:08 metagrover

This will be released in the upcoming release of maps (~ this week).

Props to @jyash97 for working on this 💯

metagrover avatar Aug 14 '18 18:08 metagrover

Released in v2.0.0 🎉

metagrover avatar Aug 20 '18 08:08 metagrover