This library separates latitude and longitude into separate arguments or properties in many places. There is a strong convention on Apple platforms of using CLLocationCoordinate2D or CLLocation whenever possible to represent geographic coordinate pairs.
Some of the antipatterns below would be addressed by #7:
This library separates latitude and longitude into separate arguments or properties in many places. There is a strong convention on Apple platforms of using CLLocationCoordinate2D or CLLocation whenever possible to represent geographic coordinate pairs.
Some of the antipatterns below would be addressed by #7:
https://github.com/mapbox/mapbox-scenekit/blob/1969fee0de7bc314098550c67bcd32d086ec289b/MapboxSceneKit/MapboxImageAPI.swift#L100 https://github.com/mapbox/mapbox-scenekit/blob/1969fee0de7bc314098550c67bcd32d086ec289b/MapboxSceneKit/Tile%20Fetching/MapboxHTTPAPI.swift#L47 https://github.com/mapbox/mapbox-scenekit/blob/1969fee0de7bc314098550c67bcd32d086ec289b/MapboxSceneKit/TerrainNode.swift#L16-L24