eklem / geo-search-helper

Helper functions for geographical search, filtering and sorting
MIT License
2 stars 0 forks source link

Illustrate functions #24

Closed eklem closed 1 year ago

eklem commented 1 year ago

getDistanceFromLatLonInKm({fromPointObj}, {toPointObj})

Illustration:

mapBoundsPosKm({fromPointObj}, radius)

Illustration:

mapBoundsPoints([poinstArray], ['keyLatValue'], ['keyLonValue'])

Illustration:

Show what's input and what's output.

eklem commented 1 year ago
Screenshot 2023-07-01 at 15 44 03
eklem commented 1 year ago

For the search results you need to

Maybe do some examples on iterating over an array of objects and show on map.

And then:

or...

eklem commented 1 year ago

Fixed with release v0.2.4 https://github.com/eklem/geo-search-helper/releases/tag/v0.2.4