hyzp_ybqx-Commit035:已经重新定位兴文县点位地图中心位置为下面标注坐标,已经可以显示兴文县的5个点位的标注:

// 在点位地图中点击某个标注,在控制台会显示该标注的纬度和经度
// 兴文县中心位置:I/flutter (12538): mapPoi = {text: 半岛和居, pt: {latitude: 28.29678023715008, longitude: 105.24189826141459}, uid: b9e39ee2e8304f872fe67bcf}
master
WinUser01 4 years ago
parent edfa46c0ae
commit 6c85c65609

@ -16,6 +16,17 @@
<!-- android:gravity=["top" | "bottom" | "left" | "right" | "center_vertical" |--> <!-- android:gravity=["top" | "bottom" | "left" | "right" | "center_vertical" |-->
<!-- "fill_vertical" | "center_horizontal" | "fill_horizontal" |--> <!-- "fill_vertical" | "center_horizontal" | "fill_horizontal" |-->
<!-- "center" | "fill" | "clip_vertical" | "clip_horizontal"]--> <!-- "center" | "fill" | "clip_vertical" | "clip_horizontal"]-->
<!-- error: '[fill|clip_horizontal|clip_vertical]'
is incompatible with attribute gravity (attr) flags
[bottom=80, center=17, center_horizontal=1, center_vertical=16,
clip_horizontal=8, clip_vertical=128, end=8388613, fill=119,
fill_horizontal=7, fill_vertical=112, left=3, right=5, start=8388611, top=48].
fill=119 01110111
clip_horizontal=7 00001000
clip_vertical=112 10000000
-->
<item android:top="37.5dp"> <item android:top="37.5dp">
<bitmap <bitmap
android:gravity="top" android:gravity="top"

@ -88,6 +88,21 @@ String yibin_QuXian = '宜宾市兴文';
String copyright_info = '© ' + yibin_QuXian + '生态环境局 四川省踏石科技 版权所有' + service_tel; String copyright_info = '© ' + yibin_QuXian + '生态环境局 四川省踏石科技 版权所有' + service_tel;
String copyright_info_PinYin = 'YIBIN XINGWEN BLACK SMOKE CAR CAPTURE SYSTEM'; String copyright_info_PinYin = 'YIBIN XINGWEN BLACK SMOKE CAR CAPTURE SYSTEM';
//
// BMFCoordinate BMFCoordinate(double latitude (), double longitude ()) //
// center: BMFCoordinate(28.77914, 104.644079), //
double center_latitude = 28.29678023715008; //
double center_longitude = 105.24189826141459; //
//
// I/flutter (12538): mapPoi = {text: , pt: {latitude: 28.29678023715008, longitude: 105.24189826141459}, uid: b9e39ee2e8304f872fe67bcf}
// 5
//
// 1 6 105.19762 28.334613
// 2 4 105.239899 28.337284
// 3 2 105.270567 28.285734
// 4 4 105.251038 28.287758
// 5 2 105.246259 28.286645
// 4 hyzp_ybqx511528_xingwen hyzp_ybqx511528_xingwen // 4 hyzp_ybqx511528_xingwen hyzp_ybqx511528_xingwen
// (1) R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\pubspec.yaml AppID // (1) R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\pubspec.yaml AppID
// name: hyzp_ybqx511528_xingwen // name: hyzp_ybqx511528_xingwen

@ -47,13 +47,18 @@ class _BasicMapState extends State<BasicMap> {
///Flutter ///Flutter
// BMFCoordinate(this.latitude, this.longitude); // BMFCoordinate(this.latitude, this.longitude);
// BMFCoordinate latitude longitude // BMFCoordinate latitude longitude
// //
// //52 104.633019062,28.7696747963 - // //52 104.633019062,28.7696747963 -
// center: BMFCoordinate(28.7696747963, 104.633019062), //- // center: BMFCoordinate(28.7696747963, 104.633019062), //-
//center: BMFCoordinate(28.7696747963, 104.633019062), //- //center: BMFCoordinate(28.7696747963, 104.633019062), //-
center: BMFCoordinate(28.77914, 104.644079), //center: BMFCoordinate(28.77914, 104.644079),
// //
// //
//
// BMFCoordinate BMFCoordinate(double latitude (), double longitude ()) //
// center: BMFCoordinate(28.77914, 104.644079), //
center: BMFCoordinate(center_latitude, center_longitude), //
showMapPoi: _showMapPoi, showMapPoi: _showMapPoi,
//poi()true //poi()true
zoomLevel: g_zoomLevel, zoomLevel: g_zoomLevel,

Loading…
Cancel
Save