Closed OregSamSas closed 2 months ago
The last commit tackles most of the job, it seems so far. At least on Laptop. On safari, somehow the overflow: clip
doesn't work, I'll try to use overflow: hidden
. And I forgot to delete the centre button when removing the map.
BTW I also added a button that centres the map.
It works well enough.
Explanation and reasoning
The size of the map updates in order to be fit on the screen, but it's not good, if it's a large map (e.g. the world map), because it can't be zoomed into. However you might want to see exactly what are the neighbours of Burkina Faso and what are not.
Implementation
There should be two buttons to control the degree of zoom, which should be stored in a global variable The map should be cropped if it overflows its container, and also, it should be able to be dragged around.
Bugs