Closed paulmach closed 6 years ago
Have the geojson.Feature type implement the orb.Pointer interface so it can be used directly in a quadtree. Uses the center of the bound to define the point. For something else see the example on how to define a custom type.
geojson.Feature
orb.Pointer
Discussed in https://github.com/paulmach/orb/issues/7
@s8mathur
@s8mathur thanks for the review!
Have the
geojson.Feature
type implement theorb.Pointer
interface so it can be used directly in a quadtree. Uses the center of the bound to define the point. For something else see the example on how to define a custom type.Discussed in https://github.com/paulmach/orb/issues/7
@s8mathur