Skip to content

Instantly share code, notes, and snippets.

@Kamapcuc
Created May 26, 2014 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kamapcuc/cd54200ae0045bb48999 to your computer and use it in GitHub Desktop.
Save Kamapcuc/cd54200ae0045bb48999 to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="http://api-maps.yandex.ru/2.1.9/?lang=ru-RU" type="text/javascript"> </script>
<style>
#wrap {
width: 991px;
margin: 0 auto;
}
#map {
height: 300px;
}
</style>
<script type="text/javascript">
function init () {
var map = new ymaps.Map('map', {
center: [55.650625, 37.628],
zoom: 14,
controls: []
});
map.controls.add(
new ymaps.control.ZoomControl({
options : {
position : {left : 10, top : 10},
size : 'small'
}
})
);
}
ymaps.ready(init);
</script>
</head>
<body>
<div id="wrap">
<div id="map">
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment