| Numéro d’ID de bogue |
BUG-000091450 |
| Envoi | October 16, 2015 |
| Dernière modification | December 12, 2024 |
| S’applique à | ArcGIS API for JavaScript |
| Version trouvée | 3.14 |
| Système d’exploitation | Windows OS |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
Changes in the current behavior, cannot be easily reverted.
Instead of using map.infoWindow, just add the features to a graphics layer:
//map.infoWindow.setFeatures(allFeatures);
// Clear current selection
if (selectedFeature) {
map.graphics.remove(selectedFeature);
}
// TODO
// set symbol for all features instead of just the first feature
allFeatures[0].setSymbol(selMarker);
// TODO
// Using a separate graphics layer instead of map.graphics will make managing
// more than one graphics easier:
// 1. customGraphicsLayer.clear();
// 2. For each feature: call customGraphcisLayer.add(feature):
selectedFeature = map.graphics.add(allFeatures[0]);
Étapes pour reproduire
ID de bogue: BUG-000091450
Logiciel:
- ArcGIS API for JavaScript