Updated OSM layer to newer API