Skip to content

expo-gaode-mapAMap React Native Component

Complete AMap solution built with Expo Modules

expo-gaode-map

Quick Start

Installation

bash
npm install expo-gaode-map

Basic Usage

tsx
import { MapView, ExpoGaodeMapModule } from 'expo-gaode-map';

// Initialize SDK
ExpoGaodeMapModule.initSDK({
  androidKey: 'your-android-api-key',
  iosKey: 'your-ios-api-key',
});

// Use map component
<MapView
  style={{ flex: 1 }}
  initialCameraPosition={{
    target: { latitude: 39.9, longitude: 116.4 },
    zoom: 10,
  }}
  myLocationEnabled={true}
/>

Why expo-gaode-map?

  • Built with Expo Modules: Modern development experience
  • Feature Complete: Cover main AMap features
  • Well Documented: Detailed documentation in Chinese and English
  • Actively Maintained: Continuous updates and community support
  • Open Source: MIT license, free for commercial use

Community