maplibre / maplibre-gl-geocoder

Geocoding for MapLibre
ISC License
45 stars 17 forks source link

Documentation bug for auto-suggest #107

Closed orenGH closed 4 days ago

orenGH commented 1 year ago

The documentation is wrong both in README.md (where it doesn't mention searchByPlaceId) and index.js (where it mentions getByPlaceId which doesn't exist in the code, also has the wrong returned values for both getByPlaceId and getSuggestions).

This adds unnecessary pain to developers, since they need to reverse-geocode the code to understand how to implement search with auto suggest.

HarelM commented 4 days ago

Looks like this was resolved by #108, if this is not the case please open a new issue.