<p></p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/295949/136124992-a7e9d0ab-bdbd-4811-8a30-b5cc7c68c63b.png"><img src="https://user-images.githubusercontent.com/295949/136124992-a7e9d0ab-bdbd-4811-8a30-b5cc7c68c63b.png" alt="image" style="max-width: 100%;"></a></p>
<p>Expected:<br>
Entering a scale value that's too small is corrected to a valid scale value.</p>
<p>Actual:<br>
Sometime the scale value is corrected to a value which would cause the map to be too large.</p>
<p>Description of problem:<br>
When entering an invalid scale value, the system automatically correct it to one that is acceptable. However there seems to be a separate check for maximum image size which is not considered in the scale. This means that the scale value must be modified again by the user after it's already been automatically corrected.</p>
<p>Other info:<br>
Browser: Firefox 92.0.1<br>
Screen Resolution: 1600x1200<br>
OS: Windows 10 Home, 10.0.19043 Build 19043</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3335">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLITCGW7Z2QNNBS5CRDUFOPPLANCNFSM5FNEFONA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAK2OLN4WT6QVCMACKI4WJDUFOPPLA5CNFSM5FNEFONKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PFA7UQA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3335",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3335",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>