Hi all,
I run into a problem of the scalebar. It can't be loaded until I zoomin or zoomout or full extent the map (using the navigation tool). I can't figure out why this happen. I add the navigation and toolbar to the map control in XMAL
<esri:Navigation HorizontalAlignment="Left" VerticalAlignment="Bottom"
Map="{Binding ElementName=MyMap}" Grid.Column="1" Grid.Row="2" Name="MyNavigationTool" PanFactor="0.5" TabNavigation="Once" Style="{StaticResource NavigationStyle1}"/>
<esri:ScaleBar x:Name="MyScaleBar" Grid.Column="1" HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Bottom" Style="{StaticResource ScaleBarStyle1}"
Map="{Binding ElementName=MyMap}" DisplayUnit="Miles" MapUnit="Feet" Foreground="Black" />
when running the project, the navigation appears, but the map and scalebar both can't be loaded, unless I use the navigation to make some action, the map and scalebar can appear.
Did anybody run into the same situation before? Or any suggestions on this? Thank you 🙂