Vector examples are broken

The vector-layer example is broken – the vector layer does is not displayed on the map. `git bisect` tells me that d2cd0808a8127197de0de8acb3ac840642be037a is the (first) bad commit.