1
0
forked from MTSR/mapserver
mapserver/server/static/js/overlays/PoiOverlay.js

13 lines
365 B
JavaScript
Raw Normal View History

2019-02-07 09:56:52 +03:00
'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 "<h4>" + poi.attributes.name + "</h4><hr>" +
"<b>Owner: </b> " + poi.attributes.owner + "<br>";
}
});