#StackBounty: #ios #swift #mapbox #geocoding #mapbox-ios Does Mapbox Geocoding API iOS reverse geocode on large bodies of water (Oceans)?

Bounty: 50

I am using Mapbox’s Geocoding API on iOS (Swift) to reverse geocode coordinates. I have been able to make it work for any land coords, but when on the ocean my code does not run (or print the placemark):

        let task = geocoder.geocode(options) { (placemarks, attribution, error) in
            guard let placemark = placemarks?.first else { return }

            print(placemark.name)
          }

So is this not supported by the API or is there something I am not seeing, or is there an alternative to this?

I have read their API Documentation and could not find anything…


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.