diff --git a/web_app/static/status.js b/web_app/static/status.js index 6f7cd6e4..eb91d08b 100644 --- a/web_app/static/status.js +++ b/web_app/static/status.js @@ -124,8 +124,14 @@ $(document).ready(function () { if (typeof(aerialLayer) !== 'undefined') { baseMaps["Aerial_Hybrid"] = aerialLayer; }; + L.control.layers(baseMaps).addTo(map); osm2Layer.addTo(map); + + if (typeof(aerialLayer) !== 'undefined') { + aerialLayer.addTo(map); + }; + // Add Base station crosshair var crossIcon = L.icon({ @@ -206,4 +212,4 @@ $(document).ready(function () { socket.on("current config base", function(msg) { showBase(msg); }); -}); \ No newline at end of file +});