Skip to content
pubscout

amap_map

1.0.15, released 2 years ago by mhive.cn

Amap SDK Flutter plugin for integrating AMapSDK in iOS and Android applications.

Repository archived
$ flutter pub add amap_map
Source repository

What it does

Integrates AMap maps into Flutter applications for Android and iOS. Provides a map widget with support for markers, polylines, polygons, camera movement, and location options.

AI-written summary of version 1.0.15, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display AMap (高德地图) maps in an Android or iOS Flutter app.
  • You need custom markers, overlays, and camera control on AMap.

Skip it when

  • You need standard Google Maps without relying on AMap services.
  • You require robust web or desktop map support.

Strengths

  • Supports latest AMap Android and iOS SDK versions.
  • Provides comprehensive control over markers, polylines, and camera positions via AMapController.

Weaknesses

  • Requires manual API key and compliance/privacy statement setup for both Android and iOS.
  • Platform support is limited to Android and iOS.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
5

Requires obtaining an API key from the AMap developer platform, configuring Android and iOS specific setup files, and initializing AMapInitializer with privacy agreement handling in code.

import 'package:amap_map/amap_map.dart';
import 'package:x_amap_base/x_amap_base.dart';

final AMapWidget map = AMapWidget(
  initialCameraPosition: CameraPosition(
    target: LatLng(39.909187, 116.397451),
    zoom: 10.0,
  ),
);

Alternatives

Packages that do the same job and could replace amap_map.

  • google_maps_flutter

    Choose this if you prefer Google Maps over AMap for global coverage.

  • flutter_map

    Choose this if you want an open-source map solution using OpenStreetMap tiles instead of commercial map providers.

Works with

Packages commonly used together with amap_map: ones it builds on, ones built on it, and its own family.