Adding multiple pin points

5 posts, 0 answers
  1. Sumith Jayasuriya
    Sumith Jayasuriya avatar
    25 posts
    Member since:
    Jan 2010

    Posted 26 Aug 2010 Link to this post

    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
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 27 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Deepa Balasundaram
    Deepa Balasundaram avatar
    34 posts
    Member since:
    Jul 2009

    Posted 07 Sep 2010 Link to this post

    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
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Sep 2010 Link to this post

    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
  6. k f
    k f avatar
    109 posts
    Member since:
    Jun 2006

    Posted 26 Sep 2010 Link to this post

    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
Back to Top
DevCraft banner