Skip to content

Commit 377d005

Browse files
authored
Merge pull request #23 from moscowpython/fix-map-change
Changed map to Impact Hub
2 parents d5f3110 + 90a0e9f commit 377d005

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

landing_page/mainpage/static/js/yandex_map.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
ymaps.ready(function () {
22
var myMap = new ymaps.Map('map', {
3-
center: [55.781774, 37.669752],
4-
zoom: 17
3+
center: [55.755988, 37.643448],
4+
zoom: 16
55
}, {
66
searchControlProvider: 'yandex#search'
77
}),
88

99
// Создаём макет содержимого.
1010

11-
myPlacemarkWithContent = new ymaps.Placemark([55.781774, 37.669752], {
12-
hintContent: 'Москва, Русаковская ул., 1',
11+
myPlacemarkWithContent = new ymaps.Placemark([55.755988, 37.643448], {
12+
hintContent: 'Хохловский пер., 7-9с2, подъезд 3, этаж 1',
1313
balloonContent: '<style>.bal-wrap{width: 260px;}ymaps.ymaps-2-1-69-balloon.ymaps-2-1-69-balloon_layout_normal.ymaps-2-1-69-balloon_to_top.ymaps-2-1-69-i-custom-scroll { top: -209px !important; left: -128px !important; }.ymaps-2-1-69-balloon__tail { left: 44%;}.ymaps-2-1-69-balloon__tail:after {width: 14px; height: 14px;border-bottom: 2px solid #F2C94C; border-left: 2px solid #F2C94C; }ymaps.ymaps-2-1-69-balloon__tail { z-index: 9; box-shadow: none; }.ymaps-2-1-69-balloon__close+.ymaps-2-1-69-balloon__content { margin-right: 0; padding: 0; }.color-yellow{color: #F2C94C;}.color-blue {color: #2D9CDB;}' +
1414
'@media (max-width: 480px) {' +
1515
'.bal-wrap{width: 100%;height: 100%;}' +
@@ -19,7 +19,7 @@ ymaps.ready(function () {
1919
'<span class="color-blue">L</span>EARN ' +
2020
'<span class="color-yellow">P</span>YTHON' +
2121
'</span> ' +
22-
'<p style="margin:0;font-family: Ubuntu; font-size: 12px">Москва, Русаковская ул., 1 станция метро «Красносельская»</p>' +
22+
'<p style="margin:0;font-family: Ubuntu; font-size: 12px">Хохловский пер., 7-9с2, подъезд 3, этаж 1, станция метро «Китай-город»</p>' +
2323
'</div>',
2424

2525
}, {

0 commit comments

Comments
 (0)