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

20 lines
510 B
JavaScript
Raw Normal View History

2019-02-08 12:07:59 +03:00
'use strict';
var LuacontrollerIcon = L.icon({
iconUrl: 'pics/jeija_luacontroller_top.png',
iconSize: [16, 16], //TODO: 512px :O ...
iconAnchor: [8, 8],
popupAnchor: [0, -16]
});
var LuacontrollerOverlay = AbstractIconOverlay.extend({
initialize: function(wsChannel, layerMgr) {
AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "luacontroller", LuacontrollerIcon);
},
createPopup: function(lcd){
return "<pre>" + lcd.attributes.code + "</pre>";
}
});