
Question:
Why <strong>desktop-chrome</strong> ignores this:
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
I can resize chrome content with <strong>windows-touch</strong> and also <strong>ctrl+mouse-wheel</strong>. I want to prevent zooming.
<hr /><strong>Chrome:</strong> Version 65.0.3325.146 (Official Build) (32-bit)
Answer1:According to <strong><a href="https://developers.google.com/maps/documentation/javascript/basics" rel="nofollow">the Google Map documentation</a></strong>,
<blockquote>Android and iOS devices respect the following <meta>
tag:
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
This setting specifies that the map should be displayed full-screen and should not be resizable by the user. Note that the iPhone's Safari browser requires this tag be included within the page's element.
</blockquote>Desktop computers do not respect the user-scalable
attribute, though mobiles will.
If you want to prevent zoom in Chrome on <strong>desktop</strong> computers, your best bet would be to enable kiosk mode with the following startup arguments:
chrome.exe --kiosk --incognito --disable-pinch --overscroll-history-navigation=0