leaflet中maker添加mouseover事件

<pre name="code" class="javascript">				     LamMarker.on({
			            'mouseover': function (e) {
			                changeThisIco(e.target);
			            },
			            'mouseout': function (e) {
			                reThisIco(e.target);
			            },
			            'click': function (e) {
			              select(e.target);
			            }
                      }); 
            
转载自:https://blog.csdn.net/honglei_zh/article/details/52786740

You may also like...