instantsearch / instantsearch-googlemaps

DEPRECATED
MIT License
15 stars 7 forks source link

Search updates on drag on map #5

Open lomholdt opened 8 years ago

lomholdt commented 8 years ago

As a developer I would like to be able to activate a feature, where the search results updates as the user drags the map to a new location. For example, if I drag the map to half a viewport size to the right, it should 1. update the map to show results on the map, and 2. update the search results with the corresponding map results.

An example of such a feature can be found here: https://www.zocdoc.com/search/

Thanks!

vvo commented 8 years ago

Hi, there's already an option to do so, it's in beta but still worth a try: https://github.com/instantsearch/instantsearch-googlemaps#optionsrefineonmapinteraction--boolean