adding OpenLayers detection