Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
ThumbnailPane issue with Infragistics Map v9.2
posted

Hello!

Can you please provide sample ( in xaml and/or xaml.cs ) of how to make the tiny map image appear inside the ThumbnailPane of the map in Infragistics.Silverlight.DataVisualization v9.2?

The old ThumbnailPane code in v9.1 that shows the tiny map image does NOT work with v9.2.

Also, you had good demo sample of the Map with v9.1 showing the basic features like NavigationPane and ThumbnailPane but NO demo sample in v9.2

Your help is much appreciated.

Thank you.

 

trifee

========================================================================

The following works with Infragistics Map v9.1 but NOT with v9.2

<Style x:Key="ThumbnailWorldStyle" TargetType

="Path">

 

 

 

<Setter Property

="Fill">

 

 

 

<Setter.Value

>

 

 

 

<ImageBrush ImageSource

="/tinyUS.png" />

 

 

 

</Setter.Value

>

 

 

 

</Setter

>

 

 

 

<Setter Property="Stroke" Value

="#ffffffff"/>

 

 

 

<Setter Property="StrokeThickness" Value

="1"/>

 

 

 

</Style

>

======================================================================

<

 

igMap:MapThumbnailPane Grid.Row="1" Grid.Column="0" Style="{StaticResource MapThumbnailStyle}" igMap:XamWebDock.Edge="InsideBottom" Margin="0,-200,0,48" VerticalAlignment="Top" HorizontalAlignment="Left" Height="Auto" Width="150" Background="Transparent"/>

==============================================================

 

 

<Style x:Key="MapThumbnailStyle" TargetType="igMap:MapThumbnailPane">

 

 

<Setter Property="WorldStyle" Value="{StaticResource ThumbnailWorldStyle}"/>

 

 

<Setter Property="WindowStyle" Value="{StaticResource ThumbnailWindowStyle}"/>

 

 

<Setter Property="PreviewStyle" Value="{StaticResource PreviewStyle}"/>

 

 

<Setter Property="ShadowStyle" Value="{StaticResource ShadowStyle}"/>

 

 

<Setter Property="ShadowOffset" Value="1, 1"/>

 

 

<Setter Property="Template">

 

 

<Setter.Value>

 

 

<ControlTemplate TargetType="igMap:MapThumbnailPane">

 

 

<Grid>

 

 

<Border Style="{StaticResource PaneBorderStyle}">

 

 

<Canvas x:Name="RootElement" Margin="4"/>

 

 

</Border>

 

 

</Grid>

 

 

</ControlTemplate>

 

 

</Setter.Value>

 

 

</Setter>

 

 

</Style>

===================================================================

 

 

 

Parents Reply Children
No Data