release: 1.0.1

This commit is contained in:
Kuloud
2023-12-29 22:16:21 +08:00
parent 5ecf421da4
commit 595930067f
18 changed files with 3 additions and 35 deletions

View File

@ -34,7 +34,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
rotateGesturesEnabled: _rotateGesturesEnabled,
scrollGesturesEnabled: _scrollGesturesEnabled,
tiltGesturesEnabled: _tiltGesturesEnabled,

View File

@ -38,7 +38,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
trafficEnabled: _trafficEnabled,
buildingsEnabled: _buildingsEnabled,
compassEnabled: _compassEnabled,

View File

@ -25,7 +25,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: _onMapCreated,
onCameraMove: _onCameraMove,
onCameraMoveEnd: _onCameraMoveEnd,

View File

@ -23,7 +23,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
touchPoiEnabled: true,
onPoiTouched: _onPoiTouched,
);

View File

@ -31,7 +31,6 @@ class _SnapShotState extends State<_SnapShotBody> {
children: <Widget>[
Expanded(
child: AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: _onMapCreated,
),
),

View File

@ -38,7 +38,6 @@ class _PageBodyState extends State<_PageBody> {
Widget build(BuildContext context) {
//创建地图
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
//地图类型属性
mapType: _mapType,
);

View File

@ -48,7 +48,6 @@ class _CustomMapStyleState extends State<_CustomMapStyleBody> {
@override
Widget build(BuildContext context) {
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: onMapCreated,
customStyleOptions: _customStyleOptions,
);

View File

@ -22,7 +22,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
limitBounds: LatLngBounds(
southwest: LatLng(39.83309, 116.290176),
northeast: LatLng(39.99951, 116.501663)),

View File

@ -87,9 +87,6 @@ class _MapUiBodyState extends State<_MapUiBody> {
@override
Widget build(BuildContext context) {
final AMapWidget map = AMapWidget(
///必须正确设置的合规隐私声明否则SDK不会工作会造成地图白屏等问题。
// privacyStatement: ConstConfig.amapPrivacyStatement,
// apiKey: ConstConfig.amapApiKeys,
initialCameraPosition: _kInitialPosition,
mapType: _mapType,
trafficEnabled: _trafficEnabled,

View File

@ -37,7 +37,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
myLocationStyleOptions: MyLocationStyleOptions(
true,
circleFillColor: Colors.lightBlue,

View File

@ -25,7 +25,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: _onMapCreated,
onCameraMove: _onCameraMove,
onCameraMoveEnd: _onCameraMoveEnd,

View File

@ -22,7 +22,6 @@ class _ShowMapPageState extends State<_ShowMapPageBody> {
@override
Widget build(BuildContext context) {
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: onMapCreated,
);

View File

@ -65,7 +65,6 @@ class _BodyState extends State<_Body> {
@override
Widget build(BuildContext context) {
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
// //创建地图时给marker属性赋值一个空的set否则后续无法添加marker
markers: Set<Marker>.of(_markers.values),
);

View File

@ -32,7 +32,6 @@ class _BodyState extends State<_Body> {
}
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
markers: Set<Marker>.of(_initMarkerMap.values),
);
return Container(

View File

@ -243,7 +243,6 @@ class _State extends State<_Body> {
// _createMarkerImageFromBytes(context);
final AMapWidget map = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
onMapCreated: _onMapCreated,
markers: Set<Marker>.of(_markers.values),
);

View File

@ -75,7 +75,6 @@ class _BodyState extends State<_Body> {
Widget build(BuildContext context) {
_initMarker(context);
final AMapWidget amap = AMapWidget(
apiKey: ConstConfig.amapApiKeys,
markers: Set<Marker>.of(_initMarkerMap.values),
);
return Container(