Change examples/vector-osm to use transformExtent

simpler, and I think should be the recommended way of transforming extents