$(function() {
$("#map").goMap({
markers: [{
latitude: 56.948813,
longitude: 24.704004,
html: {
id: '#info1',
popup: true
}
},{
latitude: 54.948813,
longitude: 21.704004,
html: {
id: '#info2'
}
}]
});
});
<div id="info1">Content from #info1</div>
<div id="info2">Content from #info2</div>