public void initToolTip(){
  if (ttmanager == null) {
    ttmanager=ToolTipManager.sharedInstance();
    ttmanager.registerComponent(map);
    ttmanager.setEnabled(true);
    return;
  }
  if (map != null) {
    map.setToolTipText(null);
  }
}

public void initToolTip ( ) { if ( ttmanager == null ) { ttmanager = ToolTipManager . sharedInstance ( ) ; ttmanager . registerComponent ( map ) ; ttmanager . setEnabled ( true ) ; return ; } if ( map != null ) { map . setToolTipText ( null ) ; } }
this method should be called to initialize the tooltip status so that an old tooltip doesn ' t remain when a layer starts listening to mouse events .
