QA


Q&A

Q.

I tried to open the example condomap.html web page and it won't work. What's the problem?

A.

Google has strict rules about how you use Google Maps, and one of these rules has to do with only hosting maps on servers for which you've obtained an API key. This means that a page can only be hosted from a server associated with the API key in the document. Because the API key in the sample document is one that I obtained to use on a server that I use, it won't work when opened from anywhere else, including from your local hard drive. You'll need to obtain your own API key from Google at http://www.google.com/apis/maps/signup.html, and then host the example map on your own server. I know that's a pain but it's the way Google has it set up.

Q.

Can I use another online mapping service such as MapQuest to create custom maps?

A.

Yes, but MapQuest appears to only make its programming interface available to businesses that are interested in partnering with MapQuest. At least for now, Google Maps is much friendlier to the hobbyist and small-time web developer who want to experiment with creating custom mapping applications. For this reason alone Google Maps is a better option than MapQuest for creating XML-based mapping applications. That Google Maps is a more interesting technology outside of custom maps is just icing on the cake.

Q.

Can I use Google Maps to beat a speeding ticket in court?

A.

Absolutely! I recently read a story about a guy who was pulled over for running a red light. In court, the policeman explained how the driver ran the red light while turning onto a one-way street. The driver countered by explaining that the only reason he ran the light was because of a rapidly approaching oncoming vehicle that he had to wait on before continuing through the intersection. The judge challenged the driver's assertion that the street was a two-way street. Thanks to a notebook computer and a sketchy Wi-Fi connection, the driver quickly launched Google Maps in the courtroom and zoomed in on the intersection in question. Indeed, Google Maps revealed a two-way street, confirming the driver's assertion. Google Maps 1, Police 0.

Q.

Is the moon really made of cheese?

A.

Visit http://moon.google.com/ and find out for yourselfmake sure you zoom in on the map.




Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
ISBN: 067232797X
EAN: 2147483647
Year: 2005
Pages: 266

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net