Hello again Aaron,
I also believe it should work :)
Are you working in Traditional Web or Reactive Web?
About the first component (for Traditional), I did test it myself and it is indeed working properly. However, it is a server side component and I wanted my calculations to be as fast as possible because I was running a mobile app. So basically I didn't want to call the server everytime I was checking a distance for every single branch (I had 300+ records in the database to compare).
That's why I came with the idea to implement those calculations client side and created the second component (for Reactive and Mobile). If you have any problems with it, just let me know :)
Both components should be working as expected, as far as I can tell :)
Let me know about your conclusions!
Kind regards,
Rui Barradas