As said in documentation, lat and long are declared in order such LAT, LNG. However, in the clickevent, it gets in order reverse when I call it e.location or e.location.toString()
1 Answer, 1 is accepted
0
T. Tsonev
Telerik team
answered on 16 Feb 2015, 09:20 AM
Hi,
The Location.toString() method indeed prints out the coordinates in longitude, latitude order.
It's constructor and toArray method use the latitude, longitude ordering.
This is indeed inconsistent. We'll correct the toString method to behave as the rest.
The changes will take effect in the next official release, as it constitutes a breaking change, albeit a small one.
I've updated our Telerik points as a token of gratitude for your involvement.
Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!