This is a migrated thread and some comments may be shown as answers.
Nested InformationLayer
1 Answer 17 Views
Map
This is a migrated thread and some comments may be shown as answers.
Simon Störmer
Top achievements
Rank 1
Simon Störmer asked on 21 Mar 2011, 04:39 PM
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.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 23 Mar 2011, 03:27 PM
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
Tags
Map
Asked by
Simon Störmer
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or