The “slot” attribute puts the scale line element in the proper spot (the bottom dock) in the map view.