作者 anyv
1 个管道 的构建 通过 耗费 0 秒

联系我们

@@ -103,7 +103,7 @@ @@ -103,7 +103,7 @@
103 for (var index = 0; index < markers.length; index++) { 103 for (var index = 0; index < markers.length; index++) {
104 var point = new BMap.Point(markers[index].position.lng, markers[index].position.lat); 104 var point = new BMap.Point(markers[index].position.lng, markers[index].position.lat);
105 var marker = new BMap.Marker(point, { 105 var marker = new BMap.Marker(point, {
106 - icon: new BMap.Icon("http://api.map.baidu.com/lbsapi/createmap/images/icon.png", new BMap.Size(20, 25), { 106 + icon: new BMap.Icon("{:cmf_get_image_url($logo.image)}", new BMap.Size(20, 25), {
107 imageOffset: new BMap.Size(markers[index].imageOffset.width, markers[index].imageOffset.height) 107 imageOffset: new BMap.Size(markers[index].imageOffset.width, markers[index].imageOffset.height)
108 }) 108 })
109 }); 109 });