amap_flutter_sdk 0.1.7
amap_flutter_sdk: ^0.1.7 copied to clipboard
Unified AMap Flutter SDK — Map, Location and Search for Android & iOS. Unofficial community plugin; not affiliated with Amap.
0.1.7 #
- iOS Search: treat Dart
nullmap values as empty string (NSNull→@""). Opening location search calledsearchPoiAroundwith nullkeyword/city/types;x ?: @""does not catchNSNull, and AMap then crashed with-[NSNull length].
0.1.6 #
- iOS Search: replace single-slot
pendingResultwith per-requestFlutterResultmap (NSMapTablestrong keys). ConcurrentsearchDistrict/inputTips/ POI / geocode no longer overwrite each other (fixes suggest-search crashes). - iOS Search: store Result before starting native search; take-then-reply once on main thread.
0.1.5 #
- Search: add InputTips (
AMapSearchClient.inputTips/AMapInputTip) backed by native APIs:- Android:
Inputtips+InputtipsQuery - iOS:
AMapInputTipsSearch/AMapInputTipsSearchRequest
- Android:
0.1.4 #
- iOS: fix Marker custom icon not refreshing when updated via
BitmapDescriptor.fromBytes(e.g. district center bubble count).checkIconDescriptionChangedFrompreviously returned NO for non-string/number icon payload and skipped image updates.
0.1.3 #
- Android: implement Search
updatePrivacyStatementsoAMapSdk.initno longer throwsMissingPluginExceptionand blocks location permission / marker setup. - Android: apply Search privacy via
ServiceSettingsreflection when available.
0.1.2 #
- iOS: fix district/city search — initialize search privacy compliance before requests.
- iOS: lazy-create
AMapSearchAPIafter key/privacy are configured. - iOS: district search sets
requireExtensionand respectssubdistrict: 0.
0.1.1 #
- iOS: fix build with newer AMapSearchKit — POI
requireExtensionreplaced with runtime-compatible extension config (showFieldsTypefallback). - iOS: fix build with AMapLocation 2.12+ — migrate reverse-geocode language to
AMapServices.regionLanguageTypewith legacy fallback.
0.1.0 #
- Initial release: unified AMap Flutter plugin (Map + Location + Search).
- Map:
AMapView/AMapWidget, camera, Marker / Polyline / Polygon, snapshot, POI tap. - Location: once / continuous location, reverse geocode fields, privacy compliance APIs.
- Search: POI keyword / around / ID, geocode, regeocode, district search.
- Android:
3dmap-location-searchMaven dependency; ARM-only ABI filters. - iOS:
AMap3DMap/AMapLocation/AMapSearchCocoaPods (static framework).