Commit ebd18ee4 by fengfan

icon

parent cfcb7ee4
......@@ -236,7 +236,7 @@ class Map3D {
// 图标尺寸
size: new AMap.Size(30, 30),
// 图标的取图地址
image: 'img/icon/联系人.png',
image: 'img/icon/责任人.png',
// 图标所用图片大小
imageSize: new AMap.Size(30, 30),
// 图标取图偏移量
......@@ -246,7 +246,7 @@ class Map3D {
map: this.map,
clickable: true,
position: new AMap.LngLat(Number(lon), Number(lat)), //基点位置
icon: icon || 'img/icon/联系人.png', //marker图标,直接传递地址url icon||
icon: icon || 'img/icon/责任人.png', //marker图标,直接传递地址url icon||
offset: { x: -15+randomNum, y: -15+randomNum } //相对于基点的位置
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment