How to use the combination of jquery scale, wheel zoom, drag and drag

you need to implement an indoor positioning page. Within the scale is an indoor distribution map, which shows the located points. When you zoom and drag, the scale changes. Now I don"t know how to correlate the drag and zoom of the picture with the proportion displayed on the current scale bar. Excuse me, how to deal with this situation?

Jan.26,2022

just ask for the proportion of the icon and the scale bar. Change the width of the picture by changing the width of the picture


transform: scale (1. 2) each time you zoom in and change the width of the picture

; use the script to increase and decrease the value in this. This is css

.
Menu