目录

Preparations

Enable Map Kit first, make necessary preparations, and then proceed with the subsequent development activities.

  • Starting from HarmonyOS 5.0.2(14), you do not need to configure the public key fingerprint and client ID.

  • You can enable Map Kit via DevEco Studio 6.0.0 Beta5 or later versions.

Enabling Map Kit

Map Kit can be enabled:

Method 1: Enabling Map Kit via DevEco Studio

  1. Sign in to DevEco Studio.

  2. Go to File > Project Structure.

  3. On the Signing Configs page, click Enable open capabilities.

  4. Select Map Kit and click OK.

  5. Click Apply to apply the Map Kit configuration and click OK.

Method 2: Enabling Map Kit in AppGallery Connect

  1. Sign in to AppGallery Connect and click Development and services.

  2. Find your project and click the app for which you want to enable Map Kit.

  3. Go to the Manage open capabilities page, select Map Kit and click Save.

  4. Complete signing after Map Kit is enabled.