release: 1.0.1
This commit is contained in:
@ -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),
|
||||
);
|
||||
|
@ -32,7 +32,6 @@ class _BodyState extends State<_Body> {
|
||||
}
|
||||
|
||||
final AMapWidget amap = AMapWidget(
|
||||
apiKey: ConstConfig.amapApiKeys,
|
||||
markers: Set<Marker>.of(_initMarkerMap.values),
|
||||
);
|
||||
return Container(
|
||||
|
@ -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),
|
||||
);
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user