Example application on GitHub
You can find additional examples for the Maps SDK v10 release candidate on GitHub. Clone the repository and run the example application following the instructions in the README.
Add a marker to the map
Use MapView's AnnotationManager class to add a single red marker pin to the map using the Maps SDK for iOS v10.
Show the user's location on the map
Show the user's location on a map using the default location puck.
Add a line with a color gradient
Load a polyline to a style using GeoJsonSource, display it on a map using LineLayer, and style it with a rainbow color gradient.
Add animated weather data
Load a raster image to a style using ImageSource and display it on a map as animated weather data using RasterLayer.
Display 3D buildings
Extrude the building layer in the Mapbox Light style using FillExtrusionLayer and set up the light position.
Display multiple icon images in a symbol layer
Add point data and several images to a style and use the switchCase and get expressions to choose which image to display at each point in a SymbolLayer based on a data property.