O'Reilly logo

Google Maps by Evangelos Petroutsos

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
 
7
Markers: Identifying Locations on the Map
You have learned how to embed maps in your web pages, how to use the basic objects of the Google Maps API, and how to program the common map events to build interactive mapping applications. Now you’re ready to create practical mapping applications by placing data on your maps. You’ll start with point data, which are represented by markers; in the following chapter, you’ll move to shapes.
A marker is an icon that identifies a location on the map. The default icon is a drop-shaped image pinned to a location, but you can assign custom icons to your markers. Google provides a few more images for markers, including colored pushpins, as well as symbols (airports, metro stations, hotels, ...

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