Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Continue to first child rectangle and/or next sibling. Continue = iota // Ignore child rectangles but continue to next sibling. Ignore // Stop iterating Stop )
Variables ¶
This section is empty.
Functions ¶
func Cities ¶
Cities returns big list of cities base on json from https://github.com/lutangar/cities.json
Types ¶
type RTree ¶
type RTree interface { Insert(min, max []float64, value interface{}) Scan(iter func(min, max []float64, value interface{}) bool) Search(min, max []float64, iter func(min, max []float64, value interface{}) bool) Delete(min, max []float64, value interface{}) Traverse(iter func(min, max []float64, height, level int, value interface{}) int) Count() int TotalOverlapArea() float64 Nearby(min, max []float64, iter func(min, max []float64, item interface{}) bool) }
RTree interface
Click to show internal directories.
Click to hide internal directories.