Hello,
i've been reading around for a while and still haven't found a solution to my issue.
I have a GeoJson that i load in a map. I use markers clusters to group all the features. I bind popups to those markers and that works fine: popups show on click, no problem.
I build a custom control area in which i have two inputs, to filter my geojson datas regarding their price (min and max); then i load a result list below -> that works fine also, and when i mouseover a marker, i can highlight the result-list's item.
My problem: i want to open the marker's popup in the map when i click on the result-list's item that correspond to it. But popup doesn't show. Map paning seems ok, as the map is recentring toward the marker. Even the popup datas are loaded (which i can see with a console.log(layer.getPopup())). But still no popup popping.
The issue is the same if i get rid of the MarkerCluster lib and directly use the geojson layer (cf) , so it comes from something i'm doing wrong but i don't know what.
Here is a jsfiddle http://jsfiddle.net/n3pkzcm7/4/. The openPopup() call is at line 88 in _getHtmlList function.
map.on('popupopen', function(){
console.log('open!!');
})
myMCG.zoomToShowLayer(myMarker)` (see https://github.com/Leaflet/Leaflet.markercluster/tree/master#other-methods) to request MCG to reveal the marker.