Double-click to zoom?

2 posts, 0 answers
  1. Marlon
    Marlon avatar
    16 posts
    Member since:
    Jul 2013

    Posted 12 Aug 2015 Link to this post

    How would I setup a map to handle double clicks? I want to allow users to recenter/zoom on double-click.
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2570 posts

    Posted 14 Aug 2015 Link to this post

    Hi Marlon,

    For this scenario you could attach a handler to the JavaScript "dblclick" event and call Kendo UI Map center / zoom methods. For your convenience here is a basic example.

    Iliana Nikolova
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top