geoview-core - v2.2.0
    Preparing search index...

    Function removeStoreGeochartChart

    • Removes a geochart chart configuration for a layer from the store.

      If the removed layer was the last remaining geochart layer, the provided callback is invoked to hide the geochart tab.

      Parameters

      • mapId: string

        The map identifier.

      • layerPath: string

        The layer path whose chart config should be removed.

      • callbackWhenEmpty: () => void

        Callback invoked when no chart configs remain.

      Returns void

      When the Geochart plugin is uninitialized.