aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/dropzone.js.patch
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-04-23 16:39:21 +0100
committerStruan Donald <struan@exo.org.uk>2019-05-28 11:34:19 +0100
commit7bb8c6124ee7e2315b934fbe134ff1496964061f (patch)
treeb47e25dde25d0e922c730163a9a536df9eb175e2 /web/js/dropzone.js.patch
parent27cfd6bcfc37054cce88a0122b253bb52eb68a83 (diff)
refactor getNearestFeature and getFeaturesWithinDistance into one
getFeaturesWithinDistance now returns an array of features sorted by their distance from the pin. This also replaces calls to getNearestFeature with calls to getFeaturesWithinDistance and updates the code to use the first entry in the array for the nearest object.
Diffstat (limited to 'web/js/dropzone.js.patch')
0 files changed, 0 insertions, 0 deletions