Blog Archives

Get a continent from longitude-latitude

For a project I’m working on I needed to know if a point (latitude,longitude) was in a continent, and if so, which one! To do this, first I set up a Continent enum to work with, making it a String

Tagged with: ,
Posted in Swift