You can add objects to the map to designate points, lines, areas, or collections of objects. The Google Maps JavaScript API calls these objects overlays. Overlays are tied to latitude/longitude coordinates, so they move when you drag or zoom the map.