5

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.

0

2 Answers 2

3

The needed setting is:

mapControl.ShowMapTips = true;

i.e. set the ShowMapTips property on your map control to True.

1
IFeatureLayer thisFeatureLayer = thisLayer as IFeatureLayer;
thisFeatureLayer.ShowTips = true;
1
  • 1
    An 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
    Dec 15, 2011 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.