Created
June 20, 2017 12:24
-
-
Save anonymous/ea41ac889dcdec4695dd04b62973855e to your computer and use it in GitHub Desktop.
yamaps_course_3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Моя карта</title> | |
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="map" style="width: 100vw; height: 100vh"></div> | |
<script type="text/javascript"> | |
ymaps.ready(function () { | |
var map = new ymaps.Map("map", { | |
center: [59.94, 30.33], // задаём координаты центра карты | |
zoom: 14 // задаём начальный масштаб | |
}); | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment