added support for openlayers