$args += array(
	'latlng' => '55.684758, 37.738521',
	'content' => '<strong>Маркер</strong> места',
	'color' => '#0095b6',
	'width' => '500px',
	'height' => '400px',
	'zoom' => 15,
);

ob_start();
?>
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
<script type="text/javascript">
	ymaps.ready(init);

	function init() {
		var myMap = new ymaps.Map("yandexMap", {
				center: [<?php echo htmlspecialchars($args['latlng'])?>],
				zoom: <?php echo intval($args['zoom'])?>
			}, {
				searchControlProvider: 'yandex#search'
			});

		myMap.geoObjects
			.add(new ymaps.Placemark([<?php echo htmlspecialchars($args['latlng'])?>], {
				balloonContent: "<?php echo $args['content']?>"
			}, {
				preset: 'islands#icon',
				iconColor: "<?php echo htmlspecialchars($args['color'])?>"
			}));
	}
</script>

<style>
	#yandexMap {
		width: <?php echo htmlspecialchars($args['width'])?>; height: <?php echo htmlspecialchars($args['height'])?>; padding: 0; margin: 0;
	}
</style>

<div id="yandexMap"></div>

<?php
return ob_get_clean();