I am actually creating a map whit jvectormap but it's showing country name when mouse is over the country. I'm using this map link I can actually show code name of the country with this :
labels: {
regions: {
offsets: function(code){
return {
}[code.split('-')[1]];
}
}
Aucun commentaire:
Enregistrer un commentaire