Loop Mappinpoints

2 posts, 1 answers
  1. FELIPE
    FELIPE avatar
    2 posts
    Member since:
    Oct 2010

    Posted 20 Aug 2011 Link to this post

    Hi, i add mappinpoins via codebehind from datatable. I need add information from ReverseGeocodeRequest. How loop all mappinpoints from my radmap control?

    Thanks
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 24 Aug 2011 Link to this post

    Hello Felipe,

    If you add your map pin points into the Items collection of the information layer, then you can use this collection to access pin points as well:

    foreach (object item in this.informationLayer.Items)
    {
        MapPinPoint pinPoint = item as MapPinPoint;
        if (pinPoint != null)
        {
            // Do something ...
        }
    }


    All the best,
    Andrey Murzov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top