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

Anton Khorev notifications at github.com
Fri Aug 16 06:10:20 UTC 2024


@AntonKhorev pushed 14 commits.

e624871eb4d871ac4dcfefce3c279aac32c0496d  Remove endpoint.hasGeocode state and related getRoute code
51cbbe6d5a86eaf34d507ab6e666772e2ffa439c  Move empty value check out of endpoint.getGeocode
89a35fe11f9d33c0a75f6b070de512480bc90029  Make getGeocode a private function
b9f8057b40f9da3874921c161033986c406ed47c  Remove latlng parameter from endpoint.setValue
f9122d76d7c3fa1305ff2300dd86add39e2bc561  Replace geocode request boolean property with request object
3312ad0e0cc69a592cac1fcbcf1871e52bc3d476  Reverse-geocode when coordinates are passed to endpoint.setValue
2fbc4645a914a3b875bb2a019c72999b353ab8c1  Abort geocoding requests if endpoint value changes
a71f6d023959a59066682f9a523094e55cdf6227  Reverse-geocode on endpoint marker drag end
fe403032a419dac85a835e338f5a06e226b69f69  Limit coordinate precision in drag listener
0cb41e4b4ab0204173521c464415b5b475de88c5  Save lat/lon to input data attributes
7f55c0d0867e5ffd23b05d4bef2a3395e4bbda19  Read lat/lon attributes when generating context menu directions urls
49eb43330e10e1715c9f7b916493a889e52016a3  Cache last reverse geocoding result
c1cd68ff9a5cde99d9fc62385be164dfb494b3b7  Add endpoint.remove to be called from page.unload
efcf2b599edcf44f03e81cc7e5f893e2dec62bce  Swap cached reverse geocodes when reversing directions

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

Message ID: <openstreetmap/openstreetmap-website/pull/5064/before/3adc0db5003c515465fdb8e5ec90e4832853e93b/after/efcf2b599edcf44f03e81cc7e5f893e2dec62bce at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240815/123450c3/attachment-0001.htm>


More information about the rails-dev mailing list