Nested InformationLayer

2 posts, 0 answers
  1. Simon Störmer
    Simon Störmer avatar
    31 posts
    Member since:
    Oct 2012

    Posted 21 Mar 2011 Link to this post

    Hi all,

    I want to have a polyline with selectable elements. I got an example from telerik where they use to information layers: on layer for the polyline, and another layer for map lines that are placed above each polyline segment.

    I want to encapsulate this into a control. My idea was to group the two information layers in a single information layer. But when I tried I noticed that even this code does not work:

    <telerik:InformationLayer>
            <telerik:InformationLayer>
              <telerik:MapRectangle x:Name="pOther" Location="53, 10" Width="10" Height="10" Fill="Green" />
            </telerik:InformationLayer>
    </telerik:InformationLayer>

    The rectangle is not shown on the map. Is this scenario not supported?

    Greetings,

    Tobias.
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 23 Mar 2011 Link to this post

    Hi Tobias,

    Unfortunately this scenario is not supported. The information layer can be used as an element of RadMap.Items collection only.

    Regards,
    Andrey Murzov
    the Telerik team
  3. DevCraft banner
Back to Top