Norkart / Leaflet-MiniMap

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

leaflet v1.0.2 - clickable has been replaced with interactive #123

Open seyfro opened 7 years ago

seyfro commented 7 years ago

With leaflet v1.0.0 clickable has been replaced with interactive, see https://github.com/Leaflet/Leaflet/pull/2838 - minimap anyway still uses clickable:

aimingRectOptions: {color: '#ff7800', weight: 1, clickable: false},
shadowRectOptions: {color: '#000000', weight: 1, clickable: false, opacity: 0, fillOpacity: 0},
...
this.options.aimingRectOptions.clickable = false;
this.options.shadowRectOptions.clickable = false;
robpvn commented 7 years ago

I see! Looking at the demo now I notice that the hover hand has indeed started appearing over the aiming rectangle. Should be a quick fix.

johnd0e commented 5 years ago

Fixed by #144