@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
{
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
}
Для ie9, ie8 и ie7
<!--[if lte IE 9]>
<style type=text/css>
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
</style>
<![endif]-->
My final fix is based on all the answers I've found:
On the main css (totally fixes the problem on ie10 & 11)
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
{
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
}
For ie9, ie8 and ie7 I've added the code (without media query) in a separate hacksheet:
<!--[if lte IE 9]>
<style type=text/css>
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
</style>
<![endif]-->
$('.address .place').on('click', function(){
var setCor = $(this).attr('pointcor').split(',');
// распарсили строку по ',' в массив
myMap.setCenter(setCor, 16);
// передали в функию новые координаты с нужным зумом
});