$(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:'map'}, 'click', function(event) {
		alert('Click position: ' + event.latLng);
	});
});