I understand that Geoxml3 has a built in feature to load kml extendeddata into variables (from its source code - see bellow), but I couldn\'t find the way to access
In the kmz branch version of geoxml3, the extended data is stored in placemark.vars.val
name: "Alvarães"
percentil: "29.8"
total: "1699"
So, this should work:
var contentString = '<div class="maptab">'+
'<h1>'+placemark.name+'</h1>'+
'fora da escola: '+placemark.vars.val.total+'<br>'
'percentual: '+placemark.vars.val.percentil+
'</div>';
polygonMouseover(placemark.polygon,contentString);