Select to view content in your preferred language

Map tips secret

465
2
11-16-2010 11:57 AM
DonFreeman
Emerging Contributor
What is the secret to making the map tips work as in http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip ?

I can make it work with ESRI's map but when I substitute my own it will not work. Is there something special needed when setting up the service?
Thanks
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Check that Binding statements are correct, provide a Fallback value if you want to know whether the binding failed.

For example:
"{Binding [STATE_NAME], FallbackValue = 0}"

This will fail if the graphic Attributes do not include STATE_NAME as one of its fields.
0 Kudos
dotMorten_esri
Esri Notable Contributor
Note that you only get maptips on GraphicsLayer and FeatureLayer.
0 Kudos