Skip to content

Commit

Permalink
release 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kuloud committed Jun 27, 2024
1 parent 2c1bcdb commit 61202ad
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.6
2024-06-27.
* 升级amap android sdk版本 V10.0.700_loc6.4.5_sea9.7.2 2024-05-13 看高德更新日志,应该是计划后续版本捆绑loc+search一起更新了

## 1.0.5
2024-03-20.
* 升级amap android sdk版本 V10.0.600 2024-03-15
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| | Android | iOS |
|-------------|---------|-------|
| **AMapSDK** | 10.0.600 | 10.0.600 |
| **AMapSDK** | 10.0.700_loc6.4.5_sea9.7.2 | 10.0.700 |
| **Support** | SDK 16+ | 12.0+ |

本插件基于 amap_flutter_map 3.0.0 进行二开的原因:
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ android {
}

dependencies {
implementation 'com.amap.api:3dmap:10.0.600'
implementation 'com.amap.api:3dmap-location-search:10.0.700_loc6.4.5_sea9.7.2'
}

2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ android {
}
dependencies {
//demo中引入高德地图SDK
implementation 'com.amap.api:3dmap:10.0.600'
implementation 'com.amap.api:3dmap-location-search:10.0.700_loc6.4.5_sea9.7.2'
}

flutter {
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- AMap3DMap (10.0.600):
- AMap3DMap (10.0.700):
- AMapFoundation (>= 1.8.0)
- amap_map (1.0.3):
- AMap3DMap
Expand Down Expand Up @@ -28,7 +28,7 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/permission_handler_apple/ios"

SPEC CHECKSUMS:
AMap3DMap: d104a679c2bad573c908e0ddadf26bc399678b24
AMap3DMap: 6ee456d7ba946ebbad580a343b74ffa8e9936175
amap_map: 8773e5cacc760edf208b1e6e61000241d26385fa
AMapFoundation: 9885c48fc3a78fdfb84a0299a2293e56ea3c9fec
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Expand Down
15 changes: 3 additions & 12 deletions example/lib/pages/interactive/move_camera_demo.dart
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
import 'package:amap_map/amap_map.dart';
import 'package:x_amap_base/x_amap_base.dart';
import 'package:amap_map_example/base_page.dart';
import 'package:amap_map_example/const_config.dart';
import 'package:amap_map_example/widgets/amap_gridview.dart';
import 'package:flutter/material.dart';

class MoveCameraDemoPage extends BasePage {
MoveCameraDemoPage(String title, String subTitle) : super(title, subTitle);

@override
Widget build(BuildContext context) => _Body();
}

class _Body extends StatefulWidget {
_Body({Key? key}) : super(key: key);
class MoveCameraDemoPage extends StatefulWidget {
MoveCameraDemoPage({Key? key}) : super(key: key);

@override
_BodyState createState() => _BodyState();
}

class _BodyState extends State<_Body> {
class _BodyState extends State<MoveCameraDemoPage> {
AMapController? _mapController;
String? _currentZoom;
@override
Expand Down
15 changes: 3 additions & 12 deletions example/lib/pages/interactive/poi_click_demo.dart
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
import 'package:amap_map/amap_map.dart';
import 'package:x_amap_base/x_amap_base.dart';
import 'package:amap_map_example/base_page.dart';
import 'package:amap_map_example/const_config.dart';
import 'package:flutter/material.dart';

class PoiClickDemoPage extends BasePage {
PoiClickDemoPage(String title, String subTitle) : super(title, subTitle);

@override
Widget build(BuildContext context) => _Body();
}

class _Body extends StatefulWidget {
_Body({Key? key}) : super(key: key);
class PoiClickDemoPage extends StatefulWidget {
PoiClickDemoPage({Key? key}) : super(key: key);

@override
_BodyState createState() => _BodyState();
}

class _BodyState extends State<_Body> {
class _BodyState extends State<PoiClickDemoPage> {
Widget? _poiInfo;
@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amap_map
description: Amap SDK Flutter plugin for integrating AMapSDK in iOS and Android applications.
version: 1.0.5
version: 1.0.6
homepage: https://github.com/kuloud/amap_map
issue_tracker: https://github.com/kuloud/amap_map/issues
platforms:
Expand Down

0 comments on commit 61202ad

Please sign in to comment.