Could you handle the name "John" in php from this getJson()? Could you assign it to a php variable?
var output = [];
$.getJSON('DisplayMap.php',{ Name: "john" }, function(data) {
for (var i in data.b) {
output.push(new google.maps.LatLng(data.b[i].Ya, data.b[i].Za));
}
});