feat: add overview image render layer (MIN-178)
- Dec 08, 2023
-
-
Adrian Orłów authored
-
Adrian Orłów authored
-
Closes MIN-178
Make it possible to render overview image in modal
Why the image is using fitting logic? That's because in the next step we'll need to render interactive elements above the image in predefined places (clickable buttons, submap links etc.). It would not be possible to render them in correct places if we've used img with object-fit class for eg. because object-fit changes only apperance of image and not it's real size. Also, using aspect ratio would not be ideal as it's not supported by all browers
Why there are so much changes? This PR is based on !73 (merged) - it's changes may appear here if it's not merged yet