'use strict'; var PoiOverlay = AbstractIconOverlay.extend({ initialize: function(wsChannel, layerMgr) { AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "poi", L.Icon.Default); }, createPopup: function(poi){ return "

" + poi.attributes.name + "


" + "Owner: " + poi.attributes.owner + "
"; } });