Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

GeoSearch enableRefineOnMapMove does not work #997

Open
imbradyboy opened this issue May 24, 2023 · 0 comments
Open

GeoSearch enableRefineOnMapMove does not work #997

imbradyboy opened this issue May 24, 2023 · 0 comments

Comments

@imbradyboy
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant