Google Map Infowindow not showing properly

≯℡__Kan透↙ 提交于 2019-11-26 13:46:27

The issue is forced by this format inside style.css:

img {
    height: auto;
    max-width: 100%;/* <--the problem occurs here*/
}

Add this to the end of your style.css to apply the default-value for images inside the map:

#map_canvas img{max-width:none}

The issue can be you are using img{ max-width: 100%; } as universal.

Try this one in to your css

.gmnoprint img {
    max-width: none; 
}

In Magento case google map zoom controls were not displaying because of conflict with PROTOTYPE library.

I solved the problem with :

.gmnoprint img {
    max-height: none;  
}

instead of max-width.

Thanks

I had tried most of internet answers but that are not useful (not working), I had added custom css and map zoom control are visible also enable marker click. This answer also useful for this question


    .gmnoprint{
        display: block !important
    }
    .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
        display: block !important;
    }
    .gm-tilt {
        display: none;
    }
    .gm-iv-address{
        height: 56px;
    }

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!