Doing something like to programmatically show infowindow at a given feature and to highlight that feature:
map.centerAndZoom(features[0].geometry, 12).then(function () {
var shape = features[0].getDojoShape();
if (shape) {
setTimeout(function () {
shape.moveToFront();
map.infoWindow.setFeatures(features)
map.infoWindow.show(features[0].geometry);
}, 500);
}
});
This causes the infowindow to show on the feature and also for that feature to highlight. But the infowindow is empty including the titel.
If I click on a feature manually then the infowindow shows with all associated attributes inside the content.