Map not centering

3 posts, 0 answers
  1. Tucker
    Tucker avatar
    7 posts
    Member since:
    Aug 2014

    Posted 11 Sep 2014 Link to this post

    Hey! I think there's a bug in the .center() method on map. Check it out:

    http://dojo.telerik.com/azAsA

    It tries to recenter on the same lat/lng after 5 seconds, but goes to Algeria haha
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2594 posts

    Posted 11 Sep 2014 Link to this post

    Hi Tucker,

    You should pass the coordinates as an array (documentation link). For your convenience here is the updated example.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Tucker
    Tucker avatar
    7 posts
    Member since:
    Aug 2014

    Posted 11 Sep 2014 in reply to Iliana Nikolova Link to this post

    Ah thank you!! It's working now :)
Back to Top