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
40
Persistent tooltip on XamGeographicMap Marker
posted

Hi, 

I'm using a tooltip to show a small table every time a user mouses over a marker in a particular series on a XamGeographic map. 

I've been asked if the tooltip could be pinned in some way, where the user would click on the marker or on the tooltip in order to make it remain visible even when the mouse has been moved away from the marker and tooltip. 

Is this possible, and if so what would be the best approach? 

Best Regards,

James 

Parents
  • 34510
    Offline posted

    Hi James,

    There's no way to get the tooltip to stay open with the built-in tooltips.  As soon as you mouse away from the marker the tooltip will disappear.  What you can do is handle the SeriesMouseEnter and SeriesMouseLeave and display/hide a popup during these events.  These events will fire when you hover over a marker and will provide the item associated with the marker.

Reply Children