function(types) {
			if (textUtil.compare(this._overviewAnnotationTypesVisible, types)) return;
			this._overviewAnnotationTypesVisible = types;
			if (!this._overviewRuler || !this._textView || !this._overviewRulerVisible) { return; }
			this._overviewRuler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined, this._overviewRuler);
		}
function(types) {
			if (textUtil.compare(this._overviewAnnotationTypesVisible, types)) return;
			this._overviewAnnotationTypesVisible = types;
			if (!this._overviewRuler || !this._textView || !this._overviewRulerVisible) { return; }
			this._overviewRuler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined, this._overviewRuler);
		}
function ( types ) { if ( textUtil . compare ( this . _overviewAnnotationTypesVisible , types ) ) return ; this . _overviewAnnotationTypesVisible = types ; if ( ! this . _overviewRuler || ! this . _textView || ! this . _overviewRulerVisible ) { return ; } this . _overviewRuler . setAnnotationTypeVisible ( types ) ; this . _textView . redrawLines ( 0 , undefined , this . _overviewRuler ) ; }
Sets which annotations types are shown in the overview ruler.  Annotations are visible by default.

@param {Object} types a hash table mapping annotation type to visibility (i.e. AnnotationType.ANNOTATION_INFO -> true).
@since 14.0
Sets which annotations types are shown in the overview ruler . Annotations are visible by default .