Created
December 28, 2016 11:29
-
-
Save Loiree/d273e0fd6cddb93498e92c6c56bbe724 to your computer and use it in GitHub Desktop.
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
head | |
script(src="https://api-maps.yandex.ru/2.0-stable/?load=package.standard&lang=ru-RU" type="text/javascript") | |
script. | |
var myMap; | |
ymaps.ready(function(){ | |
// создание карты | |
myMap = new ymaps.Map("map", { | |
center: [55.76, 37.64], | |
zoom: 14 | |
}); | |
// точка на карте | |
var myPoint = new ymaps.Placemark([55.76, 37.62]); | |
// прикрепление точки к карте | |
myMap.geoObjects.add(myPoint); | |
}); | |
body | |
#map(style="width:300px; height:300px;") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment