$(function() {
	$("#map").goMap({
		markers: [{ 
			latitude: 56.948813,
			longitude: 24.704004
		},{
			latitude: 55.548813,
			longitude: 23.204004,
			draggable: true,
			id: 'markerShowHide',
			icon: '../img/drag.png',
			html: {
				content: 'Just infoWindow!',
				popup:true
			}
		}],
		icon: '../img/apartment.png',
		addMarker: 'single',
		disableDoubleClickZoom: true
	});

	$("#showHide").click(function() { 
		$.goMap.showHideMarker('markerShowHide'); 
	});

	$("#count").click(function() { 
		alert($.goMap.getVisibleMarkerCount());
	});

});