Example of a countries vector layer with country information on hover and country labels at higher zoom levels.
See the vector-layer.js source to see how this is done.