How to change Maptip bodycontent in runtime

3793
1
04-28-2016 03:42 PM
DuaneWhistle
New Contributor

myMapTip.Title = item.Value.ToString();

myMapTip.Height = 300;

myMapTip.Width = 300;

graphic.MapTip = myMapTip;

myMapTip.GraphicsLayer = graphicsLayer;

This code shows my tool tip with the attribute data but the attribute data hides after just a few seconds, any suggestions to keep the attribute data visible?

0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi,

The MapTip should be visible the entire time the mouse is over the Graphic. You see the MapTip source here as part of the open source toolkit: arcgis-toolkit-sl-wpf/MapTip.cs at master · Esri/arcgis-toolkit-sl-wpf · GitHub

Cheers

Mike

0 Kudos