Open blindpenguin opened 3 months ago
When calling something "result.place_name", i expect the value of the "place_name" key.
The "place_name" method returns "data['text']" instead. Despite there being a "data['place_name']" available.
Do a Geocode for some long address. For example "Bahnhofsstraße 5 Passau".
https://www.rubydoc.info/gems/geocoder/Geocoder%2FResult%2FMapbox:place_name
Expected behavior
When calling something "result.place_name", i expect the value of the "place_name" key.
Actual behavior
The "place_name" method returns "data['text']" instead. Despite there being a "data['place_name']" available.
Steps to reproduce
Do a Geocode for some long address. For example "Bahnhofsstraße 5 Passau".
https://www.rubydoc.info/gems/geocoder/Geocoder%2FResult%2FMapbox:place_name
Environment info