As I already answered here , it seems that there is no legal way to update the level of traffic, even on maps.google.com it isnβt auto-delivered. But I found a dirty hack that makes the work work - manually updating the tile image:
function reloadTiles() {
var tiles = $("#map-canvas").find("img");
for (var i = 0; i < tiles.length; i++) {
var src = $(tiles[i]).attr("src");
if (/googleapis.com\/vt\?pb=/.test(src)) {
var new_src = src.split("&ts")[0] + '&ts=' + (new Date()).getTime();
$(tiles[i]).attr("src", new_src);
}
}
}
source
share