[map] Support buffer
for zoom geometries
#392
Labels
enhancement
New feature or request
good first issue
A simple feature that can easily be implemented by new contributors.
Issue description
mapModel.zoom
(andhighlightAndZoom
) should support abuffer
parameter.If the zoom geometry resolves to an extent (not a point), then that extent should be grown by the given
buffer
.This is a quick and easy way to leave a certain amount of free space in all directions (e.g. 10%).
Links:
buffer
): https://openlayers.org/en/latest/apidoc/module-ol_extent.htmlValidations
The text was updated successfully, but these errors were encountered: