I have this code :
var infoWindowOptions = {
content: "content",
... some other options ...
};
var infowindow = new InfoBox(infoWindowOptions);
infowindow.open(map, marker);
and it works without problems.
Now, I’d like to change content, so I’ve done :
infowindow.content = "new content";
infowindow.open(map, marker);
but it doesnt change! Why? And how can I fix it?
DOM elements are also accepted.