add border overlay to layers

This commit is contained in:
NatureFreshMilk 2019-04-04 08:53:20 +02:00
parent e67da64e38
commit 94707fd137

View File

@ -5,7 +5,8 @@ function Overlaysetup(cfg, map, overlays, wsChannel, layerMgr){
if (cfg.mapobjects.mapserver) { if (cfg.mapobjects.mapserver) {
overlays["Player"] = new PlayerOverlay(wsChannel, layerMgr); overlays["Player"] = new PlayerOverlay(wsChannel, layerMgr);
overlays["POI"] = new PoiOverlay(wsChannel, layerMgr); overlays["POI"] = new PoiOverlay(wsChannel, layerMgr);
overlays["Labels"] = new LabelOverlay(wsChannel, layerMgr); overlays["Label"] = new LabelOverlay(wsChannel, layerMgr);
overlays["Border"] = new BorderOverlay(wsChannel, layerMgr);
map.addLayer(overlays["Player"]); map.addLayer(overlays["Player"]);
map.addLayer(overlays["POI"]); map.addLayer(overlays["POI"]);