$(function() {
	$("#map").goMap({
		markers: [{ 
			latitude: 56.948813,
			longitude: 24.704004,
			id: 'testMarker',
			title: 'marker title 1',
			draggable: true
		}],
		icon: '../img/apartment.png'
	});

	$.goMap.createListener({type:'marker', marker:'testMarker'}, 'click', function() {
		alert('you click to the marker!');
	});
});