Patent attributes
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for providing content items based on a location of a user's attention in a map interface. In one aspect, a method includes receiving data specifying one or more map attention spots in a viewport of a map interface presented at a user device. Each map attention spot is a location on a map of the map interface corresponding to a specified amount of user activity. Content items are identified for presentation with the map. For each content item and map attention spot, a distance between a presentation location for the content item on the map and a location of the identified map attention spot on the map is determined. A rank score for the content item based at least on a respective content item score for the content item and each determined distance for the content item.