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

Chapter 2. PLOTTING MARKERS AND MESSAGE BOXES

image with no caption

Creating simple maps is a cool and useful way to see the area around a location, but you'll find creating maps even more fun and useful when you plot your own points on a map. Using mapping APIs you can overlay small graphics to call attention to locations (determined by latitude and longitude coordinates). Optionally, you can create messages that describe a location when the marker is clicked.

You've seen these principles in action on just about any chain store's website, among many others. If you're looking to shop in person, you've probably used the Find a Store link. From there, you enter your city, ...

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