Map Kit provides powerful and convenient map capabilities for developers, empowering global developers to effortlessly create customized map experiences by offering robust functions such as personalized map display, location search, and route planning. You can easily integrate map-related functions into HarmonyOS apps or atomic services to improve user experience.
Map Kit provides 320 million points of interest (POIs) worldwide. A POI on a map can be a store, an office building, a landmark, and so on.
Map Kit is constantly optimized to improve the level of detail in its maps. For example, in terms of POI and road network information display, users are presented with more relevant such information at different zoom levels based on POI attribute information and regional road network differences. Gestures including zoom, rotation, moving, and tilt are supported to ensure smooth interaction experience.
Sites in the Chinese mainland, Hong Kong (China), and Macao (China) use the GCJ02 coordinate system, and sites in Taiwan (China) and outside China use the WGS84 coordinate system. For details, please refer to Coordinate Rectification.
Map Kit provides the following functions, which can meet most map development requirements:
Displaying a Map: Creates map components, sets map attributes, and customizes the map.
Control Interaction: Controls the interaction gestures and buttons on the map.
Marker: Adds map elements such as location markers, overlays, and various shapes.
POI Search: Offers diverse POI query capabilities, forward geocoding, and reverse geocoding.
Travel Route Planning: Plans walking, cycling, and driving routes.
Static Map: Obtains a map image.
Place Details Display: Provides the place details display control, location selection control, and administrative division selection control.
Navigation and Other Capabilities Provided by the Map App: Provides capabilities including viewing location details, viewing route planning, initiating navigation, and initiating place search.
Coordinate Rectification: Describes the two coordinate systems used in Map Kit, including their application regions and conversion methods.
| Capability | Supported Devices |
|---|---|
| Creating a Map | Supports phones, tablets, PCs/2-in-1 devices, and wearables. NOTE The indoor map function supports phones, tablets, and PCs/2-in-1 devices. |
| Map Interaction | Supports phones, tablets, PCs/2-in-1 devices, and wearables. |
| Drawing on a Map | Supports phones, tablets, PCs/2-in-1 devices, and wearables. The vector overlay function supports phones, tablets, and PCs/2-in-1 devices. The flow field overlay function supports phones, tablets, and PCs/2-in-1 devices. |
| Location Search | Supports phones, tablets, PCs/2-in-1 devices, and wearables. |
| Route Planning | Supports phones, tablets, PCs/2-in-1 devices, and wearables. |
| Static Map | Supports phones, tablets, PCs/2-in-1 devices, and wearables. |
| Map Picker | Supports phones, tablets, and PCs/2-in-1 devices. |
| Navigation and Other Capabilities Provided by the Map App | Supports phones, tablets, and PCs/2-in-1 devices. NOTE Opening the ride hailing screen of the map app can be performed on phones and tablets. |
| Offline Map | Supports phones, tablets, and PCs/2-in-1 devices. |
| Map Calculation Tool | Supports phones, tablets, PCs/2-in-1 devices, and wearables. |