laptop and a wrench

Erro

IncludedEffect property applies the effect to all the non-selected features after the selection is cleared in ArcGIS Maps SDK for JavaScript v4.29 application.

ArcGIS Maps SDK for JavaScript
Número de ID do Erro BUG-000167739
EnviadoMay 22, 2024
Última ModificaçãoDecember 6, 2024
Aplica-se àArcGIS Maps SDK for JavaScript
Versão encontrada4.29
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusAs Designed

Informações Adicionais

The description is hard to follow in this issue. But the issue is indicating that the layer is showing every feature when the layerView.filter.objectIds is set to an empty array. Instead the user thinks it must hide every feature. This feature is working as intended and matches the server behavior. If the user does not want to show any features when the objectIds is an empty array, set the filter.where clause to 1 = 0. This ensured no features are visible. The FeatureFilter document to describe this behavior will be updated. Create an issue for JS API SDK to follow up on the documentation status.

Solução Provisória

As a workaround, the code is modified to set FeatureEffect as null if no features are selected.

Sample code: https://codepen.io/RiddhiG/pen/eYaZbgR. 

Etapas para Reproduzir

ID do Erro: BUG-000167739

Software:

  • ArcGIS Maps SDK for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download