I was hoping to access the GraphicsLayer.SetMapTipHorizontalOffset more directly. It might not be possible,
graphicsLayer.MapTip.SetValue(GraphicsLayer.MapTipHorizontalOffsetProperty, horizontalOffset); graphicsLayer.MapTip.SetValue(GraphicsLayer.MapTipVerticalOffsetProperty, verticalOffset);
<esri:GraphicsLayer.MapTip> <Grid esri:GraphicsLayer.MapTipHideDelay="00:00:1.5" SizeChanged="MapTip_SizeChanged" x:Name="MapTipGrid" esri:GraphicsLayer.MapTipHorizontalOffset="20" esri:GraphicsLayer.MapTipVerticalOffset="20"> <Border Background="Bisque" BorderBrush="BurlyWood" BorderThickness="5" > <StackPanel Orientation="Vertical"> <StackPanel Orientation="Horizontal"> <TextBlock Text="Project Number: " FontSize="9" Name="TextBlock2" /> ...more XAML and then </esri:GraphicsLayer.MapTip>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.