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

Button Management System to Enable/Disable Tooltip Feature

Open segun-codes opened this issue 2 years ago • 1 comments

Tooltip feature support for image overlays is now built into the Leaflet.DistortableImage library. However, there are concerns that event listeners set up to enable this feature may (or may not) interfere with other event listeners used in the library. Whereas a candidate tested solution has been implemented to address this concern, a decision was made to suspend further development of the solution to allow for observing how the tooltip feature performs without the flexibility of a functionality to disable/re-enable it.

Finally, note this issue is a spin-off from here: Tooltip Feature for ImageOverlays.

Please describe the desired behavior. A functionality to disable/enable tooltip feature in the library where such flexibility is considered useful in improving user experience.

Additional context (optional) The candidate solution that addresses the outlined concern is shown in illustration 1 below. Again, find more details here Tooltip Feature for ImageOverlays.

Illustration 1: tooltipEnableDisable

segun-codes avatar Jan 17 '23 08:01 segun-codes