) { 
                    pathCoordinates.push(new AMap.LngLat(item.position[0], item.position[1]));
                });
                if (pathCoordinates.length > 1) { 
                    var polyline = new AMap.Polyline({
                        path: pathCoordinates, strokeColor: '#3498db', strokeWeight: 4,
                        strokeStyle: 'dashed', strokeDasharray: [5, 5], lineJoin: 'round'
                    });
                    polyline.setMap(map);
                }
            }
