Geoflatbush class

Wrapper around Flatbush to provide geographical kNN search on the index, using the around method which accounts for the curvature of the earth.

Constructors

Geoflatbush(Flatbush<TypedData, double> _index)
Creates a new Geoflatbush instance for a given Flatbush instance. The Flatbush instance requires a double TypedData type, e.g. Float64List.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

around(double lng, double lat, {int? maxResults, double? maxDistance, FlatbushFilter? filter}) List<ItemIdx>
Returns an array of item indices in order of distance for the given coordinates lng and lat, accounting for the curvature of the earth and dateline wrapping.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited