| Número de ID do Erro |
BUG-000126072 |
| Enviado | October 16, 2019 |
| Última Modificação | June 5, 2024 |
| Aplica-se à | ArcGIS API for JavaScript |
| Versão encontrada | 4.13 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 10.0 64 Bit |
| Status | Non-Reproducible
Esse problema não foi reproduzível quando testado pela equipe de desenvolvimento. Os problemas podem receber esse status quando não podem ser reproduzidos ou não são mais relevantes em uma versão de desenvolvimento do software, mas uma correção específica não foi instalada para resolver o problema. A seção Informações Adicionais do problema pode conter mais explicações.
|
Informações Adicionais
This is not a bug with ArcGIS API for JavaScript, rather the documentation is updated to include a better explanation of how this works. By default, the Search widget sets the view on the Search result. The level of detail (LOD) at the center of the view depends on the data source, with higher quality data sources returning extents closer to the feature obtained from the search.
Solução Provisória
let pt = new Point({
latitude: event.result.feature.geometry.latitude,
longitude: event.result.feature.geometry.longitude
});
if (view.zoom < 14) {
view.goTo({
target: pt,
zoom: 14
}
Etapas para Reproduzir