I dynamically generated a few points, click on the text box, and then click inside the processing alarm to appear a large pop-up window, how to achieve this pop-up window.
${data_info[i].carArea}</span>
</div>
</div>
`;
let marker = new BMap.Marker(new BMap.Point(data_info[i].x, data_info[i].y),{icon:myIcon}); //
map.addOverlay(marker); //
addClickHandler(content, marker);
//clickme(i, content);
}
function addClickHandler(content, marker) {
marker.addEventListener("click", function(e) {
openInfo(content, e)
});
}
function openInfo(content, e) {
var p = e.target;
var point = new BMap.Point(p.getPosition().lng, p.getPosition().lat);
var infoWindow = new BMap.InfoWindow(content, opts); //
map.openInfoWindow(infoWindow, point); //
}