Select to view content in your preferred language

MapTip vs. MapTip

723
2
11-08-2011 02:48 PM
AaronEdwards1
Emerging Contributor
Hey what's the difference between a MapTip class and a GraphicsLayer's MapTip property?

Apparently MapTip has a GraphicsLayer property, and a GraphicsLayer has a MapTip property.

When I use the MapTip class placed in my XAML, and set its GraphicsLayer property to some Graphic or Feature layer, then I get a cool comic strip-style balloon, but it only shows the Title on mouse hover, and the various attributes you added to the graphic layer on mouse-click.

When I use the MapTip property of a GraphicsLayer, I can define my own content, but I don't get the cool balloons.

Is there any way to get the cool dialog balloons, but still be able to define the content inside of the balloon by my own template?

Thanks!
0 Kudos
2 Replies
AaronEdwards1
Emerging Contributor
I wound up just overriding the template from the MapTip class.
0 Kudos
AaronEdwards1
Emerging Contributor
If anyone still can tell me the difference between these two classes, that would be great.

I'm trying to utilize the MapTipBehavior found at http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/09/30/How-to-keep-MapTips-in-the-Map.asp..., but it's the wrong type of MapTip.
0 Kudos