Closed andyesys closed 1 year ago
There is no tooltip handling at all in the MapControl library. This effect apparently occurs only where "relative coordinates" of the path geometry are negative. On WinUI and UWP such a Path is even only drawn partially. This is however an issue of the platform.
The following pure WPF XAML reproduces the problem. Perhaps ask a question on StackOverflow.
<Canvas>
<Path Canvas.Left="200" Canvas.Top="200" Fill="AliceBlue" ToolTip="Hello">
<Path.Data>
<EllipseGeometry RadiusX="100" RadiusY="100"/>
</Path.Data>
</Path>
</Canvas>
Hi @ClemensFischer,
thanks for your great work. Unfortunately, I have a problem with disappearing tooltips in the MapControl.
How to replicate
Add
ToolTip="Hello"
to the blue circle MapPath in your MainWindow.xaml.Expected behaviour
When the mouse hovers over the blue circle, the tooltip should be shown and stay visible for some time.
Actual behaviour
The tooltip very quickly disappears in all but the lower right quadrant of the circle.