update of scalebar for OL 213 issue #31