🗺️
Complete Map Features
Support multiple map types, gesture control, camera operations
Complete AMap solution built with Expo Modules
Version Compatibility
v1).npm install expo-gaode-map@v1npm install expo-gaode-mapimport { MapView, ExpoGaodeMapModule } from 'expo-gaode-map';
// If native keys are configured via Config Plugin or manually, you do not need
// to pass androidKey / iosKey in JavaScript.
// Only needed for Web API features:
// ExpoGaodeMapModule.initSDK({ webKey: 'your-web-api-key' });
// Only if native keys are not configured:
// 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}
/>