O'Reilly logo

Map Scripting 101 by Adam DuVander

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required