added necessary function for getting attribution from a CanvasLayer