Geomap: Fixed issue with adding a custom basemap.

Fixes #5698 and #5298. Fix 5698 add custom basemap  problem by adding SRS parameter to object because it is not there by default when it is suppose to be. Fix  5298 space between element in legend by adding a margin in css.