jQuery-Mapael icon indicating copy to clipboard operation
jQuery-Mapael copied to clipboard

How to get zoom level when you click zoom buttons or mousewheel

Open Sofiane23i opened this issue 6 years ago • 0 comments

Before submitting a new issue, please search on the issue tracker first (https://github.com/neveldo/jQuery-Mapael/issues)

Description

Hello,

I'm working on a project with jquery mapeal, i would like to update the map at different levels of zoom. we can see, in inspecting element, that each time we click the zoom button the viewbox attribue value of the svg div will change.

However, among all the functions of mapeal object, there is the trigger function that allow changing zoom at a defined level, is there any function for getting zoom value. ?

Cordially

Expected Behavior

Current Behavior

Environment

  • Mapael version:
  • Raphael version:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):

Sofiane23i avatar Nov 23 '19 19:11 Sofiane23i