Refresh Map Button Click

2 posts, 0 answers
  1. Kahl
    Kahl avatar
    15 posts
    Member since:
    Nov 2016

    Posted 21 Nov 2016 Link to this post

    I would like to refersh a layer in a kendo Map,  there are 8 layers, but only want to refresh layer 1. 


    This would occur on a button click event.


    my datasource for the layer is

    .DataSource(source => source
                            .Transport(transport => transport
                                .Read(read =>
                                    read.Url("/Api/EventInfo/_P4BubbleAreas/" + Model.showEventP4.ToString())

  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 23 Nov 2016 Link to this post

    Hello Kahl,

    You can call the read() method of the datasource to refetch the data.

    Danail Vasilev
    Telerik by Progress
    Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
Back to Top