Skip to content

[Maps] clearing index pattern does not clear preview layer #67618

@nreese

Description

@nreese

Clearing index pattern for es_search_source, es_geo_grid_source and es_pew_pew source does not clear preview layer. This is because debouncedLoad returns early when indexPatternId is not provided. When indexPatternId is provided, _onGeoFieldSelect is called which triggers onSourceConfigChange. To fix the problem, need to ensure onSourceConfigChange is triggered when indexPatternId is cleared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:GeoFormer Team Label for Geo Team. Now use Team:PresentationbugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions