DivIcon
Extends:
L~L.DivIcon → DivIcon
创建标记时的图标
Example:
var myIcon = new KQ.Struct.DivIcon({
className: 'leaflet-icon',
iconSize: [120, 120],
html: '<div id="marker' + 100 + '" style="width: 160px; height: 160px; position: relative; background-color: transparent;">ASD</div>'
});
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) 构造函数 |