I have a map with geoJSON populated cells. Every cell have different popup data, coming from API. I want to pass id parameter in the URL and then the map to open that specific popup. I'm using angular directivce and Responsive popup as exstensions.
I tried using the .openPopup() and togglePopup functions but the popup does not open and no erros in the console. (opening the popup on marker). Also tried to open popup on feature, but it seems impossible.
The last version with markers is this one:
Markers are being initialized:
var markers = new L.FeatureGroup();
var marker = L.marker([402.33, -639])
marker.addTo(markers)
Then
var openedPopup = L.responsivePopup({className: 'buyPopup', autoClose: false}).setContent(stringHere);
marker.bindPopup(openedPopup);
marker.togglePopup(); //marker.openPopup();
I dont mind doing it with features and not marker.