working base for openlayers 3.0