This is a migrated thread and some comments may be shown as answers.

Map not centering

2 Answers 104 Views
Map
This is a migrated thread and some comments may be shown as answers.
Tucker
Top achievements
Rank 1
Tucker asked on 11 Sep 2014, 07:46 AM
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 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 11 Sep 2014, 08:30 AM
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!
 
0
Tucker
Top achievements
Rank 1
answered on 11 Sep 2014, 08:49 AM
Ah thank you!! It's working now :)
Tags
Map
Asked by
Tucker
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Tucker
Top achievements
Rank 1
Share this question
or