I\'m simply displaying a map, with no routing or directions. I can add the control with mapOptions = {...scaleControl: true,...} but I could find no documentation about cha
Try this temp solution (here it is in a ready function):
var scaleInterval = setInterval(function() { var scale = $(".gm-style-cc:not(.gmnoprint):contains(' km')"); if (scale.length) { scale.click(); clearInterval(scaleInterval); } }, 100);