243rd
The purpose of this example is to introduce how to set the mouse wheel to zoom the map size in the vue+openlayers project, slide the wheel one grid at a time, and set a value other than the default value of 1. For the specific setting method, refer to the source code.
Directly copy the following vue+openlayers source code, operate for 2 minutes to achieve the effect
Article directory
example effect
configuration method
1