[openstreetmap/openstreetmap-website] Simplify routing endpoint interface, always do reverse geocoding (PR #5064)
Anton Khorev
notifications at github.com
Wed Aug 14 02:13:59 UTC 2024
@AntonKhorev pushed 18 commits.
e0df084e573f1ac5402e0e4c458f516cf374872d Don't call endpoint.setLatLng() from outside of endpoint module
f65593651f17f1bb2caa6a757ca377c094ea7a02 Don't set input value from endpoint.setLatLng()
f1ca64ff84ee66de0fde80ed437e837a79a6e4d8 Make setLatLng a private function
e1edca3ff2a7ee26a13b53d0b979448ba0be796f Remove latlng parameter from endpoint.setValue
0571b03da53cd628c1871fdb855286d020822631 Rename geocodeCallback to changeCallback, call it from latlon setValue
195e856900d54fd28bec2458d12ec5b9a7b97c89 Remove endpoint.hasGeocode state and related getRoute code
5d72ede101a98819439a4e17313a0b34458ab787 Move empty value check out of endpoint.getGeocode
e7cf7c692af39fe6b3dbf11dfca29f10b812e1a7 Make getGeocode a private function
26c271b9952b4c4a82032a03608e1dd051127deb Replace geocode request boolean property with request object
292696f270914c8e60c00bd68fb9026083c15ecb Reverse-geocode when coordinates are passed to endpoint.setValue
ee53c83ba85a5ea1d0e1db3c081576231d1da0fd Abort geocoding requests if endpoint value changes
98cb21190e19485dbad3e8d11f677a060a795fd9 Reverse-geocode on endpoint marker drag end
9c960bca6a90e8981b3133d6d351b6d07743055b Limit coordinate precision in drag listener
bc6e2d79bd4a6b277ca439ee5802f37b49f8a983 Save lat/lon to input data attributes
93183edd209bf6059e20374ee9c1f685f49da496 Read lat/lon attributes when generating context menu directions urls
0a8ae837d214d77fef130ac844fed64051946f5f Cache last reverse geocoding result
8db2c54af111f0f81d415fe1365a4356038798a2 Add endpoint.remove to be called from page.unload
e67139403b514ed48143ec0a3324ba12b10df8e4 Swap cached reverse geocodes when reversing directions
--
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5064/files/eca59355e8b06575faef0fdc06b9b260bce74cbf..e67139403b514ed48143ec0a3324ba12b10df8e4
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5064/before/eca59355e8b06575faef0fdc06b9b260bce74cbf/after/e67139403b514ed48143ec0a3324ba12b10df8e4 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240813/45010577/attachment.htm>
More information about the rails-dev
mailing list