]> git.openstreetmap.org Git - rails.git/commitdiff
Remove endpoint.hasGeocode state and related getRoute code
authorAnton Khorev <tony29@yandex.ru>
Sun, 11 Aug 2024 03:58:14 +0000 (06:58 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 16 Aug 2024 05:53:34 +0000 (08:53 +0300)
hasGeocode didn't actually indicated if an endpoint has a value acquired from a geocoder. It was set to true when at least one call to a geocoder finished successfully, including getting an empty result. getRoute doesn't need to know what calls were made, it only needs coordinates. It also doesn't get to decide when to fetch coordinates, this is done in drag/change callbacks.


No differences found