All Products
Search
Document Center

Mobile Platform as a Service:Use Google Map in Mini Program

Last Updated:Feb 07, 2025

  1. When the client is integrated, add the following default switch configuration under nebulaCustomConfig method:

    - (NSDictionary *)nebulaCustomConfig
    {
         return @{
                  @"ta_map_engine": @"1"
         };
    }
    
  2. Add the MPGoogleMap.framework into the project directory.

    Simulator architecture:

    MPGoogleMap.framework.zip

    Real machine architecture:

    MPGoogleMap.framework.zip

  3. Configure the pod to integrate the Ariver component and GoogleMap, and configure the location-related privacy field in the info plist.

    image

  4. Configure header files and initialization.

    image

    image