Overlapping Pins, how to group ?

2 posts, 0 answers
  1. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 15 Jan 2012 Link to this post

    Hi there, i have a problem whereby within a very small map area i might have 10-20 nodes and in most cases they overlap. Is there a way to group nodes so that overlapping nodes can be encapsulated into a single node and expanded out

    I found an expandedlocations example posted here http://www.telerik.com/community/forums/silverlight/map/maps-pins-overlapping.aspx which seems to do exactly what i want however

    - I am unsure how this works. It seems to use hotspots but how does it know which node is the central grouped node
    - Is there a way once expanded to then hover over/click the expanded nodes as if they are a normal node

    Anyone familiar with how this works ? I want to be able to click on any node or hover over there node for details but i also want to encapsulate a group of nodes to a single area (lets say all nodes in a lat/long + 100 are grouped to a single node ). Is there a way for telerik map controls todo this already ?

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 19 Jan 2012 Link to this post


    The sample does not calculate a central grouped node. It shows all nodes which are overlapped. I have updated the sample solution. It shows the group of overlapped nodes if they exist using MouseLeftButtonDown event. If the node is single or the node is already expanded, then it shows details. The group is closed by mouse click on the circle at the center of the group.
    I have attached the sample solution.

    I hope it helps.

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top