div>',
                    offset: new AMap.Pixel(0, -12)
                });
                marker.on('click', function() { infoWindow.open(map, marker.getPosition()); });
                mapMarkers.push(marker);
                marker.setMap(map);
            });
            if (markersData.length > 1) {
                var pathCoordinates = [];
                markersData.filter(item => item.icon !== 'place').forEach(function(item) { 
                    pathCoordinates.push(new AMap.LngLat(it