[openstreetmap/openstreetmap-website] Simplify routing endpoint interface (PR #5064)
Anton Khorev
notifications at github.com
Mon Aug 12 04:48:21 UTC 2024
@AntonKhorev pushed 17 commits.
0b5ce792414779964521775158d62cb1c46f19b5 Don't call endpoint.setLatLng() from outside of endpoint module
8bd81b4d685852bb45464ec4660fb5aa0dfbf58a Don't set input value from endpoint.setLatLng()
4d8aa2386383ff0f32eb008fc8ab5e93c64ed9fa Make setLatLng a private function
b18194fd7ee3708aab58f1b583ae71f20b29bda6 Remove latlng parameter from endpoint.setValue
00aeba5f587a84cee5430ef0c54a7ed6ead95334 Rename geocodeCallback to changeCallback, call it from latlon setValue
7c55e1ee112c20113f36553861cf021bd87e8ec1 Remove endpoint.hasGeocode state and related getRoute code
06acec6c5d14156d5b3c6d59db0025f55aed6427 Move empty value check out of endpoint.getGeocode
0d2f8aa73380202590c8fb952ed6e86032965836 Make getGeocode a private function
a72cee87cd24cb8c62e317922edece1d045d5c7d Replace geocode request boolean property with request object
c8d62c86c1513431cc30557df6e2ad97bb88cbb2 Reverse-geocode when coordinates are passed to endpoint.setValue
3534933d5d5db03aff5dcb084be7ffa4962f0e0b Abort geocoding requests if endpoint value changes
da59bd5507954e22a7ca41ada789a96c01958de4 Reverse-geocode on endpoint marker drag end
e41d202612d5262a1692c0b162c0fcbdba7937f1 Limit coordinate precision in drag listener
ede0bbdefa67a20a1d50538abf2c2d7b0ea1ab62 Save lat/lon to input data attributes
86e099051f0c889426fc01c828d8c4c5e50a20cd Read lat/lon attributes when generating context menu directions urls
16c5f0598c41c15f28a398d5174a6abfe8425ffd Cache last reverse geocoding result
a68b32cef70aea6280d229f159e31ca536843bed Add endpoint.remove to be called from page.unload
--
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5064/files/16d4433e6a0fc16475caa2bad680d621c71409a3..a68b32cef70aea6280d229f159e31ca536843bed
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5064/before/16d4433e6a0fc16475caa2bad680d621c71409a3/after/a68b32cef70aea6280d229f159e31ca536843bed at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240811/31cab97a/attachment-0001.htm>
More information about the rails-dev
mailing list