We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
SamplesMap KitiOS Sample Code

iOS Sample Code

The Map SDK for iOS provides a set of APIs for map development in iOS. The map data covers most countries and regions outside the Chinese mainland, and supports multiple languages. Map Kit uses the WGS 84 GPS coordinate system, which can meet most map development requirements outside the Chinese mainland. It allows you to easily add map functions to your iOS app.

The sample code covers the usage of most Map Kit APIs. Guided by the demo, you will learn how to implement the following functions:

  • Map display: Displays features such as buildings, roads, water systems, and Points of Interest (POIs).
  • Map interaction: Controls the interaction gestures and buttons on the map.
  • Map drawing: Adds map elements such as location markers, map layers, overlays, and various shapes.
Expand

Sample Code

Find It on Gitee

Find It on GitHub

Xcode sample code

Click here

Click here