标签:dem over size evel 大头针 develop gif ant developer
百度地图jsapi 自定义大头针的方法
<pre>
var myIcon = new BMap.Icon("http://developer.baidu.com/map/jsdemo/img/fox.gif", new BMap.Size(300,157));
var mk = new BMap.Marker(r.point,{icon:myIcon});
map.addOverlay(mk);
map.panTo(r.point);
</pre>
标签:dem over size evel 大头针 develop gif ant developer
原文地址:https://www.cnblogs.com/newmiracle/p/11871343.html