[openstreetmap/openstreetmap-website] Simplify routing endpoint interface, always do reverse geocoding (PR #5064)

Anton Khorev notifications at github.com
Mon Aug 19 17:34:45 UTC 2024


@AntonKhorev pushed 13 commits.

64da05f8ffa5e17de11e94335f418cd73498a76d  Install endpoint listeners using enable/disable methods
a8838b37277c47e8d1bc295bd39db467092685a2  Remove endpoint markers in disable method
5a1e3e5c67325c95bdab0e09cd79bda24c426090  Replace geocode request boolean property with request object
ad3f70db67d6d10b9fd1f4fac64817c42f3101a1  Remove latlng parameter from endpoint.setValue
569afce13f10bbffddb722ea2bbc2dac547c6268  Reverse-geocode when coordinates are passed to endpoint.setValue
1a6e151ed1f6472fdb13d3591a69bf1ddea0c1e3  Abort geocoding requests if endpoint value changes
1c42dd6d1f8daf2b4f6c853c52c96475af40c17f  Reverse-geocode on endpoint marker drag end
b1176c5e59f8d700ad8e7cc684b8f71b28ba12f2  Limit coordinate precision in drag listener
fcc321b5b9b400e9ac632f875aca3fbd3b012176  Save lat/lon to input data attributes
cc8fbf14d078883a91d76be45d15ea68162a7067  Read lat/lon attributes when generating context menu directions urls
4fcbb282a049639c949bc4aa0fbc931b9cec676e  Cache last reverse geocoding result
a7e96617d0767f85d3a8ee0d3375707c1ea23db0  Remove endpoint/input values on disable
69664f7b9c432e91f7b3a340d79769d462827692  Swap cached reverse geocodes when reversing directions

-- 
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5064/files/633db792c06089e777a414a49f0a795b5fac0dbc..69664f7b9c432e91f7b3a340d79769d462827692
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5064/before/633db792c06089e777a414a49f0a795b5fac0dbc/after/69664f7b9c432e91f7b3a340d79769d462827692 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240819/8d4c1ff5/attachment.htm>


More information about the rails-dev mailing list