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

Anton Khorev notifications at github.com
Mon Aug 19 16:47:22 UTC 2024


@AntonKhorev pushed 13 commits.

dad6bca7530f0f7d240dc21d3369cf71edcf41bb  Install endpoint listeners using enable/disable methods
c9f495cb18ac70b0b31822c9aac2a1c95f7d626e  Remove endpoint markers in disable method
fe07f5219c860132737312ea2589f1be37adaff2  Replace geocode request boolean property with request object
2e7e2c39bb66f468a0faf0eeee4293a4478de639  Remove latlng parameter from endpoint.setValue
a02b3053c94b320992b77670793c41114c5eb3d9  Reverse-geocode when coordinates are passed to endpoint.setValue
bd0213996c8e332fed13c124aaf358193597f320  Abort geocoding requests if endpoint value changes
a754f7e15d457e2fc7c68c7077fbc65b3ed57d64  Reverse-geocode on endpoint marker drag end
765fb8759b0bafd17f3b8c6ef7f077a6e0be3061  Limit coordinate precision in drag listener
0f50c03527f41aa9342c9d14cd5f54cd40dfa8bd  Save lat/lon to input data attributes
e625b8a022d255091ec83eb83ee439484293c282  Read lat/lon attributes when generating context menu directions urls
5c48955b58fc2757bbe591919424228252226ed3  Cache last reverse geocoding result
30643896f63476c61eaa25c5cdf4421547b51135  Remove endpoint/input values on disable
633db792c06089e777a414a49f0a795b5fac0dbc  Swap cached reverse geocodes when reversing directions

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

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


More information about the rails-dev mailing list