-
-
Notifications
You must be signed in to change notification settings - Fork 297
Open
Description
Feature Overview
Is there a way to catch a click on the MiniMap component and then, for the TransformComponent, move the zoom to the corresponding position where the click was made on the minimap?
Custom Approach
Currently, to achieve this behavior, I convert the x and y of the click on the MiniMap and then set an invisible div with position absolute at the corresponding x and y on the main map. Then I simply use zoomToElement with the div to zoom into the needed area.
Library Support
Is this functionality already implemented in the library? I did not find this functionality. If it is implemented, can somebody point to it? Thanks.
Metadata
Metadata
Assignees
Labels
No labels