Map3D.js
23 KB
-
let marker = new AMap.Marker({ · 6b90e553
map: this.map, clickable: true, position: new AMap.LngLat(Number(lon), Number(lat)), //基点位置 icon: icon || 'img/1.png', //marker图标,直接传递地址url icon|| offset: { x: -8+randomNum1, y: -31+randomNum2 } //相对于基点的位置 });
hanjixin committed