sohnem2

infowindow setFeatures show

Discussion created by sohnem2 on Dec 4, 2013
Latest reply on Dec 4, 2013 by sohnem2
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.

Outcomes