1、引用leaftlet 高版本 比如1.8
3、在map js 中定义图标 L.marker(geo, {rotationAngle: 270,icon: L.AwesomeMarkers.icon({icon: awesomeIcon, prefix: 'fa', markerColor: color,spin:true}) }).addTo(map);leaftlet 显示个性化图标、旋转图标
最新推荐文章于 2023-06-29 09:30:00 发布
1、引用leaftlet 高版本 比如1.8
3、在map js 中定义图标 L.marker(geo, {rotationAngle: 270,icon: L.AwesomeMarkers.icon({icon: awesomeIcon, prefix: 'fa', markerColor: color,spin:true}) }).addTo(map);