pitchingchris:What if you get a partial response ? No matter who it is, you almost never trust input from external sources without validating it. Suppose google decides to make a change 2 years from now ? Is your program going to break then ?
For most of the API, you can specify a specific version of the API to use, then at least the "what if Google changes it" stance is largely gone. I don't see this example specifying the version though, which I believe does mean "the latest stable version," which could theoretically start putting quotes around the numbers. Though I don't know why they would randomly do that, since you only need quotes if you have embedded commas and commas are never going to make sense as part of a latitude, longitude or altitude unless they decide to randomly switch to using commas as decimal separators. Which would make no sense to switch a style once you have one as you get no benefit and break external code at the same time.
They might plausibly add some more fields, though they would hopefully do that at the end and not break this code. And you should verify external sources (the partial result in particular seems plausible), though it's very common to not do so in example code.
Good points though in the context of non-example code.