2GIS iOS MapGL is an SDK that allows you to add a 2GIS map to your iOS application. It can be used to display the map in your interface, add custom markers and labels to it, draw routes and custom shapes, and highlight various objects on the map, such as buildings, roads, and others.
Getting an access key
Usage of this SDK requires an
API key to connect to 2GIS servers and retrieve the geographical data. This
API key is unique to the SDK and cannot be used with other 2GIS SDKs. To obtain the key, contact us at email@example.com.
Additionally, if you plan to draw routes on the map, you will need a separate key - a Directions API key - to calculate and display an optimal route. To get it, fill the form at partner.api.2gis.ru or contact us at firstname.lastname@example.org.
2GIS iOS MapGL is available through CocoaPods. To install it, add the following line to your Podfile:
After that, you should be good to go. Check the Examples section to see how to display the map in your application. Alternatively, check the API Reference to learn more about specific classes and methods.
2GIS iOS MapGL is licensed under the BSD 2-Clause "Simplified" License. See the LICENSE file for more information.