Here is the XAML: <esri:Navigation Height="140" Background="SteelBlue" HorizontalAlignment="Left" Margin="0,0,605,344" Name="navigation" VerticalAlignment="Top" Width="176" Foreground="SteelBlue" PanFactor="0.25" IsManipulationEnabled="False" Opacity="1" > <esri:Navigation.Map> <esri:Map MinimumResolution="0.0000000000001" IsLogoVisible="False" WrapAround="True" /> </esri:Navigation.Map> </esri:Navigation> After some more testing it appears that the problem is because the <esri:Navigation.Map> is being set. Once I remove those four lines of XAML it works as your example shows.
<esri:Navigation Height="140" Background="SteelBlue" HorizontalAlignment="Left" Margin="0,0,605,344" Name="navigation" VerticalAlignment="Top" Width="176" Foreground="SteelBlue" PanFactor="0.25" IsManipulationEnabled="False" Opacity="1" > <esri:Navigation.Map> <esri:Map MinimumResolution="0.0000000000001" IsLogoVisible="False" WrapAround="True" /> </esri:Navigation.Map> </esri:Navigation>
Hi Ron,Could you post your XAML/C#?The navigation sample for the SDK has the following XAML:<esri:Map x:Name="MyMap" Extent="-15000000,2000000,-7000000,8000000" WrapAround="True"> <esri:ArcGISLocalTiledLayer ID="myBaseMap" Path="..\\Data\\TPKs\\Topographic.tpk"/> </esri:Map> <esri:Navigation Margin="5" HorizontalAlignment="Left" VerticalAlignment="Bottom" Map="{Binding ElementName=MyMap}" /> And no extra C# is required in the sample.
<esri:Map x:Name="MyMap" Extent="-15000000,2000000,-7000000,8000000" WrapAround="True"> <esri:ArcGISLocalTiledLayer ID="myBaseMap" Path="..\\Data\\TPKs\\Topographic.tpk"/> </esri:Map> <esri:Navigation Margin="5" HorizontalAlignment="Left" VerticalAlignment="Bottom" Map="{Binding ElementName=MyMap}" />
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.