algolia/angular-instantsearch

GeoSearch enableRefineOnMapMove does not work

imbradyboy opened this issue · 0 comments

Following the example outlined here and it suggests looking into the connectGeoSearch for more advanced features, such as refining the search when the map moves, automatically centering on the correct items etc.

When looking into the implementation, it looks like you can only provide enableRefineOnMapMove and transformItems as options on widget creation. However, enableRefineOnMapMove like so does not work:

public ngOnInit() {
    this.createWidget(connectGeoSearch, {
      enableRefineOnMapMove: true
    });
    super.ngOnInit();

The rest of the code is verbatim with the example provided in the docs.

Furthermore, it feels like there is a lot of missing functionality in the angular implementation. Are enableRefineOnMapMove and transformItems the only initial configuration options we have?