From 56a3cbb30a67eb2fdf0621bcfe9ecec26a9c5137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 5 Dec 2018 11:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=B0=E5=9B=BE=E7=BB=88?= =?UTF-8?q?=E7=82=B9=E7=AB=99=E6=B2=A1=E6=9C=89=E6=A0=87=E8=AE=B0=E5=87=BA?= =?UTF-8?q?=E5=8F=91=E5=9F=8E=E5=B8=82=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/tour_map/views/welcome.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/third_party/tour_map/views/welcome.php b/application/third_party/tour_map/views/welcome.php index 39e9ea96..fa916d88 100644 --- a/application/third_party/tour_map/views/welcome.php +++ b/application/third_party/tour_map/views/welcome.php @@ -100,7 +100,7 @@ awesomeIcon = awIcons[2]; //经过的城市图标 awesomeIcon_start = false; //入境城市 awesomeIcon_end = false; //出境城市 - + if (index === 0) { awesomeIcon_start = awIcons[0]; var marker_start = new AwesomeMarker({ @@ -122,7 +122,8 @@ title: element.end, label: {content: element.end, offset: new AMap.Pixel(30, 8)} }); - } else { + } + var marker_pass = new AMap.Marker({ position: [element.start_lng, element.start_lat], offset: new AMap.Pixel(-3, -3), @@ -134,7 +135,7 @@ map: map, label: {content: element.start, offset: new AMap.Pixel(8, -8)} }); - } + //画曲线