add border overlay to layers
This commit is contained in:
parent
e67da64e38
commit
94707fd137
@ -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"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user