Big hack to make createLayer respect OGC standards.