        </div>`;
                }

                // 创建自定义标记
                var marker = new AMap.Marker({
                    position: position,
                    content: markerContent,
                    title: item.name,
                    anchor: 'center',
                    offset: new AMap.Pixel(0, 0)
                });

                // 创建信息窗体
                var infoWindow = new AMap.InfoWindow({
                    content: '<div style="padding:1