Norkart / Leaflet-MiniMap

A minimap control plugin for Leaflet
BSD 2-Clause "Simplified" License
388 stars 124 forks source link

Request: Allow dragging aimingRect or shadowRect when both centerFixed and zoomLevelFixed are specified #158

Open just-Addict opened 3 years ago

just-Addict commented 3 years ago

This relates to issue #148 but in my case all I want is to be able to have the shadowRect become visible and draggable on a mouseDown/Drag when both centerFixed and zoomLevelFixed are used

When both these options are used together, the functionality of the miniMap is largely degraded to just being an indicator, and has itself become useless as a control. Having the ability to select a new area by being able to move the amingRect/shadowRect to select that area at least makes it retain some functionality in this scenario.