A non understandable point when try to get coordinates of a place

2 posts, 0 answers
  1. ziyahan
    ziyahan avatar
    29 posts
    Member since:
    Dec 2014

    Posted 12 Feb 2015 Link to this post

    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()

  2. T. Tsonev
    T. Tsonev avatar
    2834 posts

    Posted 16 Feb 2015 Link to this post


    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.

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