| Bug-ID-Nummer |
BUG-000126072 |
| Eingereicht | October 16, 2019 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS API for JavaScript |
| Gefunden in Version | 4.13 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Status | Non-Reproducible
Dieses Problem konnte bei Tests durch das Entwicklungsteam nicht reproduziert werden. Problemen wird u. U. dieser Status zugewiesen, wenn sie nicht reproduziert werden können oder in einer Entwicklungsversion der Software nicht mehr relevant sind. Es wurde jedoch kein Fix zur Problembehebung installiert. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
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.
Workaround
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
}
Schritte zur Reproduzierung