Obsolete Members for LegendInfoListModel

LegendInfos available for a LayerContent type."> Obsolete Members for LegendInfoListModel | ArcGISQtCpp
  • LegendInfoListModel
  • The following members of class LegendInfoListModel are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) Esri::ArcGISRuntime::TaskWatcher fetchLegendInfos(bool recursive = true)

    Signals

    (deprecated) void fetchLegendInfosCompleted()

    Member Function Documentation

    Esri::ArcGISRuntime::TaskWatcher LegendInfoListModel::fetchLegendInfos(bool recursive = true)

    This function is deprecated. We strongly advise against using it in new code.

    Fetches legend information from its source layer or map, adds to the list model, and returns a TaskWatcher for the asynchronous task.

    To fetch legend information recursively through the source layer and its sublayers, pass in true (the default) for the recursive parameter.

    If the model's source LayerContent type or Map is configured to automatically fetch legend infos, this method will be called automatically.

    [signal] void LegendInfoListModel::fetchLegendInfosCompleted()

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the model has completed fetching all requested legend infos.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.