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

GeoSearch enableRefineOnMapMove does not work #997

@imbradyboy

Description

@imbradyboy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions