';
phocaDirDisplayPlgPM1.setDirections(responsePlgPM1);
} else if (google.maps.DirectionsStatus.NOT_FOND) {
alert("Een van de locaties gespecificeerd in de originele aanvraag, bestemming, of waypoints kon niet worden geocoded.");
} else if (google.maps.DirectionsStatus.ZERO_RESULTS) {
alert("Er kon geen route worden gevonden tussen het doel en bestemming.");
} else if (google.maps.DirectionsStatus.MAX_WAYPOINTS_EXCEEDED) {
alert("Te veel DirectionsWaypoints werden verstrekt in de DirectionsRequest.");
} else if (google.maps.DirectionsStatus.OVER_QUERY_LIMIT) {
alert("Webpage heeft teveel requests verzonden binnen de toegestane tijd.");
} else if (google.maps.DirectionsStatus.INVALID_REQUEST) {
alert("De opgegeven DirectionsRequests waren fout.");
} else if (google.maps.DirectionsStatus.REQUEST_DENIED) {
alert("Webpage is niet toegestaan om de directie service te mogen gebruiken.");
} else if (google.maps.DirectionsStatus.UNKNOWN_ERROR) {
alert("Directie verzoek kon niet worden verstuurd door een server error. probeer het nog een keer.");
} else {
alert("Directie verzoek kon niet worden verstuurd door een server error. probeer het nog een keer.");
}
});
}
function initMapPlgPM1() {
tstPhocaMapPlgPM1.setAttribute("oldValuePlgPM1",0);
tstPhocaMapPlgPM1.setAttribute("refreshMapPlgPM1",0);
tstIntPhocaMapPlgPM1 = setInterval("CheckPhocaMapPlgPM1()",500);
}
//]]>