2
6 Comments

Looking for an API for an unusual need.

Is there an API out there (Google Maps for instance), that can give you the farthest city to your location based on a distance you provide it?

on November 22, 2019
    1. 1

      I will check it out. Thanks!

  1. 1

    Google Maps API has a distance matrix functionality you can use to calc distance between two cities, not sure if you can query cities in the proximity though.

    1. 1

      My real challenge is providing a current location and a distance value, and getting back the farthest city within that distance.

  2. 3

    This comment was deleted 6 years ago

    1. 2

      Not trivial, but don't too difficult. Would require some skills that a lot of people don't have. But a great opportunity to learn!

      1. 1

        It's a small part of what I am building. I'd rather not expend considerable effort in building this functionality. In any other situation, it would be a fun challenge.