xdest (1) [Avatar] Offline
#1
In my opinion, you should be showing an example based on the latest Google Maps API v3.

https://developers.google.com/maps/documentation/javascript/tutorial#HelloWorld

The text would still be correct as it is speaking of "roughly ten lines of code" that make the integration possible. There are two lines more in the V3 example.

This will ensure that the code is still working when the book arrives, me thinks.

Best regards
benvinegar (68) [Avatar] Offline
#2
Re: Listing 1.2
Hi xdest,

I wrote that sample back in mid-2011, when it was possibly still relevant smilie

I'll try to update the text.