To hone your XML skills, you can use https://maps.googleapis.com/maps/api/distancematrix/xml as the URL to which you send the requests. Then, you can parse the XML file, as we did with JSON, and display the retrieved data likewise.
Have a go hero – Choosing XML as the reply's format
Get Game Programming using Qt 5 Beginner's Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.