My organization is working on a new version of our software using ArcGIS Engine 10. Previous versions of the software (running on ArcGIS Engine 9.3) displayed MapTips fine as long as they were enabled in the mxd. Our new version running on ArcGIS Engine 10 doesn't display MapTips (and they are fine in the mxd).
Is there any code or setting to enable MapTips, or any known reasons that would cause them to not display in an ArcGIS Engine 10 application?
I have already discovered that layers within a Basemap layer won't display MapTips, so that is not the cause.
2 Answers 2
The needed setting is:
mapControl.ShowMapTips = true;
i.e. set the ShowMapTips property on your map control to True.
IFeatureLayer thisFeatureLayer = thisLayer as IFeatureLayer;
thisFeatureLayer.ShowTips = true;
-
1An anonymous user notes, "This will programmatically set MapTips to display, but in the case described, the MapTips don't display regardless of the state of this flag."whuber– whuber2011年12月15日 19:15:15 +00:00Commented Dec 15, 2011 at 19:15
Explore related questions
See similar questions with these tags.