Do you mean the control handles?
If so, you could set this property to disable the handles:
//place this code in a config.js file, see the HTML5 samples
Annotations.ControlHandle.handleWidth = 0;
Annotations.ControlHandle.handleHeight = 0;
Alternatively, you could override the draw methods for the selection models
Annotations.SelectionModel.prototype.draw = function(ctx, annotation, zoom){
//override
};
You would have to override this for each type of selection mode:
- BoxSelectionModel
- LineSelectionModel
- CalloutSelectionModel
- TextSelectionModel