Appendix A. JAVASCRIPT QUICK START

image with no caption

All the mapping APIs covered in this book are based on JavaScript. To use them, you need to program JavaScript from your web page to interact with the maps. However, as you'll see in this appendix, it's a programming language that is easy to learn.

I'll cover a very basic approach to JavaScript—enough not to be confused by the examples elsewhere in the book. If you're looking to learn the complete ins and outs, pick up The Book of JavaScript (thau!, No Starch Press, 2000).

Where JavaScript Goes

JavaScript is added to HTML pages via the <script> tag. Sometimes code is placed between this tag and its closing tag. Other ...

Get Map Scripting 101 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.