Added a propery to map toolbar, and overrided setFrame to set the toolbars frame, which then resizes its layer. This resolves a bug where the layer wasn't stretched across a view bigger than 500x500.