MAke OpenLayers map more generic.