8. Introducing JSON

« Previous : Next »

Code Snippets

NOTE: The code in this example was adapted from Rick Lamos article " /AJAX/ Working with Google Maps" in the October 2006 issue of .net Web Designer magazine. Rik Lamos is a far better Web coder than I. So any rough edges in the is demo are mine, not his. <g> - J.D. Abolins

In the HTML file:

<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={the Google Maps API key]" type="text/javascript"></script>
<script type="text/javascript" src="map2.js"></script>

See the .js file

See the JSON file