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

Adding multiple pin points

4 Answers 133 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sumith Jayasuriya
Top achievements
Rank 1
Sumith Jayasuriya asked on 26 Aug 2010, 12:55 PM
I want to display on a map a pin point for each customer.  I have a collection of customer locations, it can run into thousands. Can the pint points be added by databinding?  Is there some sample code to achieve this.? 

Thanks
Sumith

4 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 27 Aug 2010, 09:22 AM
Hi Sumith Jayasuriya,

The information layer allows the data binding. Please, take a look to the DataBinding example and to the data binding help topic:
http://demos.telerik.com/silverlight/#Map/DataBinding
http://www.telerik.com/help/silverlight/map-data-binding.html

But I would recommend using the dynamic layer to loading points by zoom level and region.
It is possible to have a lot of elements on the map. If they are displayed at the same time, then the rendering performance can be insufficient.
Please, see the Using Dynamic Layer topic of our documentation and the Items Virtualization example.
http://www.telerik.com/help/silverlight/map-using-dynamic-layer.html
http://demos.telerik.com/silverlight/#Map/DynamicLayer

Kind regards,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Deepa Balasundaram
Top achievements
Rank 1
answered on 07 Sep 2010, 11:30 PM
I have a list of locations. I would like to bind the list with the information layer and I want to put push pin for each locations in the list. Could pls post some sample code to achieve that?

Thank you
0
Andrey
Telerik team
answered on 09 Sep 2010, 08:09 AM
Hi Deepa Balasundaram,

Please, take a look to the DataBinding example and to the data binding help topic:
http://demos.telerik.com/silverlight/#Map/DataBinding
http://www.telerik.com/help/silverlight/map-data-binding.html

Kind regards,
Andrey
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
k f
Top achievements
Rank 1
answered on 26 Sep 2010, 02:14 PM
I just put together a MVVM Sample that shows how to bind an InformationLayer to a collection.

Also, in your case if you want to show info for the coordinates on a MouseOver, via a tooltip.  This sample with show you how to do that as well. 

I'm using custom Markers but you can change the collection to PinPoints and modify your code accordingly.

http://www.dotnetpatterns.net/content/184-Teleirk-Map-Control-with-custom-Markers
Tags
Map
Asked by
Sumith Jayasuriya
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Deepa Balasundaram
Top achievements
Rank 1
k f
Top achievements
Rank 1
Share this question
or