How to add/remove shapes dynamic?

3 posts, 0 answers
  1. Evgeny Vdovin
    Evgeny Vdovin avatar
    29 posts
    Member since:
    May 2006

    Posted 11 Aug 2014 Link to this post

    Hi there,

    I wonder how to add/remove shapes after the map is rendered. All of your demos for shapes layer are adding shapes during map initialize.

    Thanks!
  2. Evgeny Vdovin
    Evgeny Vdovin avatar
    29 posts
    Member since:
    May 2006

    Posted 11 Aug 2014 Link to this post

    Never mind. Found the solution from a previous post.

    By using a kendo.ui.DataSource as the shape layer's dataSource, then handle this datasource collection to add/remove shapes.

    Thanks!
  3. Kendo UI is VS 2017 Ready
  4. Evgeny Vdovin
    Evgeny Vdovin avatar
    29 posts
    Member since:
    May 2006

    Posted 11 Aug 2014 in reply to Evgeny Vdovin Link to this post

    Sorry, should be kendo.data.DataSource.
Back to Top