bathymetric-cam is an AR app visualizing depth contour of water for anglers.
Depth contour represents a line connecting points of equal depth on ocean floors or lake floors. If the contour lines spaced narrowly between one and another, it indicates that the area has the steep transition. This kind of spots is called drop-offs by anglers when targeting a certain type of species like largemouth bass. The species are also known as the habit preferring to stay at deeper water when the temperature is cold in winter. bathymetric-cam visualizes the depth contour by the intuitive AR view in order to help you find a better fishing spot.
As of January 2021, Mapbox hasn't done the Swift Package Manager support yet.
Therefore, download the SDK manually.
Then drag the frameworks into Frameworks/
folder.
bathymetric-cam uses Mapbox and map tile server. Each service has the configuration.
Here is how to set them up.
Mapbox-Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MGLMapboxAccessToken</key>
<string>YOUR_ACCESS_TOKEN</string>
</dict>
</plist>
TileAPI-Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>baseUrl</key>
<string>YOUR_API_BASE_URL</string>
</dict>
</plist>
The plist files above go to bathymetry/
folder.
bathymetric-cam depends on Mapbox and map tile server. If your application needs to support other map frameworks like GoogleMaps and other map tile client, you can make your own implementation that conforms to MapView's protocol and BathymetryTileClient's protocol.