'use strict'; var LabelOverlay = AbstractIconOverlay.extend({ initialize: function(wsChannel, layerMgr) { AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "label"); }, getIcon: function(lbl){ return L.divIcon({html: lbl.attributes.text}); }, createPopup: function(lbl){ return "
" + lbl.attributes.text + ""; } });