// Points returns all of the coordinates of a SearchResult's LocationLookup.
Points returns all of the coordinates of a SearchResult's LocationLookup.
// Points returns all of the coordinates of a SearchResult ' s LocationLookup .
func (r SearchResult) Points() Points {
	points := make(Points, len(r.Locations))
	for _, loc := range r.Locations {
		points = append(points, loc.Point)
	}
	return points
}
func ( r SearchResult ) Points ( ) Points { points := make ( Points , len ( r . Locations ) ) for _ , loc := range r . Locations { points = append ( points , loc . Point ) } return points }
Points returns all of the coordinates of a SearchResult's LocationLookup.
Points returns all of the coordinates of a SearchResult ' s LocationLookup .