Example of a countries vector layer with country information on hover.
See the vector-layer.js source to see how this is done.