'use strict'; var TechnicAnchorIcon = L.icon({ iconUrl: 'pics/technic_admin_anchor.png', iconSize: [32, 32], iconAnchor: [16, 16], popupAnchor: [0, -32] }); var TechnicAnchorOverlay = AbstractIconOverlay.extend({ initialize: function(wsChannel, layerMgr) { AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "technicanchor", TechnicAnchorIcon); }, createPopup: function(lcd){ return "
Owner: " + lcd.attributes.owner + "
" + "Radius: " + lcd.attributes.radius + "
" + "Locked: " + lcd.attributes.locked + "
" + "Enabled: " + lcd.attributes.enabled + "
"; } });