Closed vjf closed 1 week ago
tangent to another issue I was thinking of... should there be a "maximum map zoom"? It doesn't make sense to zoom out to the degree there are duplicate continents.
To address this issue the following changes are made to improve the handling and visualization of map instances::
Map Visualization Update: The main map instance now has a blue tile background, while mirrored instances use grey tiles. This change helps users identify the active map instance more easily.
Coordinate Normalization for Bounds and Circles: I added functions to normalize coordinates for both circles and rectangles that fall entirely within mirrored map instances (left or right), adjusting their coordinates to fit within the main [-180, 180] longitude range.
Handling Partially Mirrored Bounds: For rectangles that are partially in a mirrored area, the code now generates two bounds and places both within the main instance. This allows for proper visualization and interaction without leaving parts of the bounding box outside the active view.
In "Step 1: Search & Select Events", if you click on "Global Events" button, it seems that there are no events in South America on the RHS of the map. If you move the map a little to the right, you will see that there are events on the South America on the LHS!