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)} }); - } + //画曲线