FIX - расположение заголовка, дефолтный зум
This commit is contained in:
parent
4faf9477bb
commit
1e34a702e2
|
|
@ -11,5 +11,5 @@ body {margin: 0; padding: 0; height: 100%;}
|
||||||
div#map {width: 100%; height: 100%;}
|
div#map {width: 100%; height: 100%;}
|
||||||
div.infoCard {width: 400px;}
|
div.infoCard {width: 400px;}
|
||||||
div.infoCard img {width: 200px; float: left; margin: 0 10px 5px 0;}
|
div.infoCard img {width: 200px; float: left; margin: 0 10px 5px 0;}
|
||||||
div.header {display: block; position: absolute; top: 0; left: 20px; border-radius: 0 0 5px 5px; z-index: 1000; background-color: #FFF; padding: 5px 10px;}
|
div.header {display: block; position: absolute; top: 0; left: 115px; border-radius: 0 0 5px 5px; z-index: 1000; background-color: #FFF; padding: 5px 10px;}
|
||||||
div.header h1 {display: inline; margin-right: 25px; color: #555;}
|
div.header h1 {display: inline; margin-right: 25px; color: #555;}
|
||||||
|
|
@ -9,7 +9,7 @@ var myMap;
|
||||||
function init() {
|
function init() {
|
||||||
myMap = new ymaps.Map("map", {
|
myMap = new ymaps.Map("map", {
|
||||||
center: [59.9, 30.3],
|
center: [59.9, 30.3],
|
||||||
zoom: 11,
|
zoom: 9,
|
||||||
behaviors: ['default', 'scrollZoom']
|
behaviors: ['default', 'scrollZoom']
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue