Moved OpenLayers functions (controls) from newfeaturewidget to olmapwidget.