Obsolete Members for LegendInfoListModel

  • 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.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close