You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if you are still supporting this project but in case you are it would be good to be able to supply a minimum size for the map so the user cannot resizer to a smaller size than this.
The text was updated successfully, but these errors were encountered:
Thanks
I ended up with this code
this.controls.resizer.addEventListener('drag', function () {
var newHeight = self._mapDiv.clientHeight;
if (newHeight < self.minHeight) {
self._mapDiv.style.height = self.minHeight + "px";
// only allow map to be larger
}
Not sure if you are still supporting this project but in case you are it would be good to be able to supply a minimum size for the map so the user cannot resizer to a smaller size than this.
The text was updated successfully, but these errors were encountered: