This is a migrated thread and some comments may be shown as answers.

Loop Mappinpoints

1 Answer 72 Views
Map
This is a migrated thread and some comments may be shown as answers.
FELIPE
Top achievements
Rank 1
FELIPE asked on 20 Aug 2011, 11:57 AM
Hi, i add mappinpoins via codebehind from datatable. I need add information from ReverseGeocodeRequest. How loop all mappinpoints from my radmap control?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 24 Aug 2011, 04:02 PM
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 >>

Tags
Map
Asked by
FELIPE
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or