maptalks.js
maptalks.js copied to clipboard
Please add a parameter to the "fitZoom" and "fitExtent" functions to control whether the calculation result is "cover" or "contain".
maptalks's version and what browser you use? 1.0.0-rc.33 Edge/122.0.2365.92
Issue description I was using the "fitZoom" function and realized that it only makes the short side of the container fit the map, similar to the css "object-fit:contain" in css. But now I need to make the map fill the whole screen, like the "object-fit:cover" in css, so I want to add a parameter to control the result of this function.