Leaflet.MagnifyingGlass icon indicating copy to clipboard operation
Leaflet.MagnifyingGlass copied to clipboard

setRadius doesn't center magnifying glass on mouse pointer

Open StefanBrand opened this issue 5 years ago • 0 comments

I came upon this when implementing #14. When I call setRadius the magnifying glass "jumps" off-center because it is resized. Then when I move the mouse, it jumps back to its center position around the mouse pointer. Can we tweak L.MagnifyingGlass so that setRadius also centers the magnifying glass correctly?

StefanBrand avatar Jul 19 '19 09:07 StefanBrand