Question on the cross-layer integration demo

2 posts, 0 answers
  1. Warren
    Warren avatar
    61 posts
    Member since:
    Aug 2013

    Posted 16 Sep 2014 Link to this post


    Online you show a demo called cross-layer integration demo. You have a set of markers for places to visit on the map. You also have them connected with a line drawn showing the route. How do you draw the line on there? I saw in code how to add markers but if I want to draw a route on how to get somewhere how do you add that line for the route on the streets?


  2. Konstantin Dikov
    Konstantin Dikov avatar
    1753 posts

    Posted 19 Sep 2014 Link to this post

    Hello Warren,

    If you look at the demo's description you will information on how both layers, the Markers and the Shapes, are bound and where the data is coming from.

    For both layers, a RadClientDataSource control retrieving the data from JSON files is used for data-bounding. For the shapes layer you can see the JSON file at the following link:
    As you will notice, in this particular example, the routes are represented by MultiLineString objects.

    You could find additional information on GeoJSON format and Shape layer at the following articles:

    Konstantin Dikov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top