Well I had exactly the same problem. I am not pleased of replacing the JS files directly because I am not sure that tomorrow things will not change again in the Google API. So, why not using just the iframe statement without the wordpress extension ? As soon as something change they will update their extension, right ?
Here is what I have done and it works very well for me : I uninstall the VéritéCo extension and implement a shortcode function to mimic the extension. Following is the code I have add in my functions.php file
// Shortcode to use with the iframe of VéritéCo Timeline
function timeline_shortcode( $atts, $content = null ) {
extract( shortcode_atts( array(
'src' => '',
'font' => 'Bevan-PotanoSans',
'lang' => 'en',
'width' => '100%',
'height' => '650',
), $atts ) );
return "
<iframe src='" . $src . "&font=" . $font . "&maptype=toner&lang=" . $lang . "' width='" . $width . "' height='" . $height . "' frameborder='0'></iframe>
";
}
add_shortcode( 'timeline', 'timeline_shortcode' );
Then, I use it like as usually :
[timeline font='BreeSerif-OpenSans' lang='fr' src='https://embed.verite.co/timeline/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE' ]
Not all the cases are included in the function but that is sufficient for my needs. If someone improves this function, maybe can you share it ? ??