geo-index.go
func (geoIndex *geoIndex) Range(topLeft Point, bottomRight Point) []interface{} {
	topLeftIndex := cellOf(topLeft, geoIndex.resolution)
	bottomRightIndex := cellOf(bottomRight, geoIndex.resolution)

	return geoIndex.get(bottomRightIndex.x, topLeftIndex.x, topLeftIndex.y, bottomRightIndex.y)
}
func (geoIndex *geoIndex) Range(topLeft Point, bottomRight Point) []interface{} {
	topLeftIndex := cellOf(topLeft, geoIndex.resolution)
	bottomRightIndex := cellOf(bottomRight, geoIndex.resolution)

	return geoIndex.get(bottomRightIndex.x, topLeftIndex.x, topLeftIndex.y, bottomRightIndex.y)
}
func ( geoIndex * geoIndex ) Range ( topLeft Point , bottomRight Point ) [ ] interface { } { topLeftIndex := cellOf ( topLeft , geoIndex . resolution ) bottomRightIndex := cellOf ( bottomRight , geoIndex . resolution ) return geoIndex . get ( bottomRightIndex . x , topLeftIndex . x , topLeftIndex . y , bottomRightIndex . y ) }
// Range returns the index entries within lat, lng range.
Range returns the index entries within lat lng range .