We want you to build an iOS app showing traffic lights according to a specific dataset. The app should show the traffic lights on a map according to their latitude and longitude. In addition, it should provide a list view of the lights. Finally, both screens should provide the option to filter the items according to some fields (be free to choose some of them) and to see the traffic lights within a specified area on the map. For example, a valid way to provide the area would be asking name of a street and the radius in meters.
- You are free to choose the specific map library to work on.
- You have to develop an universal app for iOS 12, by using Swift.
- The dataset is accessible through a GET over
https://javieraragon.carto.com/api/v2/sql?q=SELECT id, direction, href, region, title, view, ST_X(the_geom) as longitude, ST_Y(the_geom) as latitude FROM ios_test
. The query paramq
is used to pass a SQL query to extract the data from the dataset. Under the hood, it will