bubble type layer with geojson

4 posts, 0 answers
  1. HiveOut
    HiveOut avatar
    4 posts
    Member since:
    May 2017

    Posted 31 May Link to this post

    Hi Frds i have requirement like need to draw a bubble on kendo map from geojson response.

    I am receiving data like [Longitude, Latitude] but when i try to plot this on map kendo consider this like [latitude, longitude] . Please do needful help for me.

    Thanks in advance.

     

  2. HiveOut
    HiveOut avatar
    4 posts
    Member since:
    May 2017

    Posted 31 May Link to this post

    this is the sample code.

    http://jsbin.com/cayoderuqe/1/edit?html,output

     

  3. HiveOut
    HiveOut avatar
    4 posts
    Member since:
    May 2017

    Posted 31 May Link to this post

    This is  the sample code

    http://jsbin.com/cayoderuqe/1/edit?html,output

     

  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2083 posts

    Posted 02 Jun Link to this post

    Hello,

    The Map widget excepts the location field in the [Latitude, Longitude] format and if you are receiving the data in reverse you should modify the array prior to the binding. You could use schema.parse to modify the array:
    For your convenience, here is a dojo example with such approach:

    Regards,
    Konstantin Dikov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top