When zooming is cluster still exists then InfoWindow disappears first time
jsette opened this issue · 1 comments
jsette commented
I have a sidebar, with a feed of Mapped positions.
When clicking a item, I want to display InfoWindow, I also zoom in. This works fine with Single Markers or if the zoom level is enough to no longer display the cluster.
If I zoom in and still display the cluster, then the InfoWindow will disappear. If I click again, it will display?
$(liTag).click(function() {
infowindow.close();
infowindow.setContent($marker.html());
infowindow.setPosition(latlng);
infowindow.open(map, marker);
map.setZoom(8);
map.setCenter(marker.getPosition());
});
Any ideas on how to resolve this issue?
thimmegowdat7 commented
use
infowindow.setPosition(marker.latlng);