Is This Content Helpful?
We're glad to know this article was helpful.
"Microsoft JScript runtime error: 'null' is null or not an object".
This error is returned if the layer for which the MapTips content has been customized is not displayed on page load.
Causes could be that the layer for which the maptips were customized has been unchecked; or scale dependencies may be set, which is causing the layer to not be displayed on page load.
There is one difference in the Properties of the MapTips control in the ‘Common_Maptips’ sample and a default Web mapping application. The ‘ShowOnlyWhenLayerIsVisible’ property is set to True by default, but in the sample it has been set to False.