var isTtnMapperOrg = ""; var gatewayMarkerOnline = L.icon({ iconUrl: "/resources/gateway_dot.png", iconSize: [20, 20], // size of the icon iconAnchor: [10, 10], // point of the icon which will correspond to marker\'s location popupAnchor: [0, 0] // point from which the popup should open relative to the iconAnchor }); var gatewayMarkerOnlineNotMapped = L.icon({ iconUrl: "/resources/gateway_dot_green.png", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerOffline = L.icon({ iconUrl: "/resources/gateway_dot_red.png", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerSingleChannel = L.icon({ iconUrl: "/resources/gateway_dot_yellow.png", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerV3Online = L.icon({ iconUrl: "/resources/TTS_V3_GW_flags.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerV3Offline = L.icon({ iconUrl: "/resources/TTS_V3_GW_flags_red.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerV3Private = L.icon({ iconUrl: "/resources/TTS_V3_GW_flags_h200.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerChirpV3 = L.icon({ iconUrl: "/resources/chirpstack-gateway.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerHeliumOnline = L.icon({ iconUrl: "/resources/helium-gateway-white-center.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); var gatewayMarkerHeliumOffline = L.icon({ iconUrl: "/resources/helium-gateway-white-center-orange.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); // Gateway markers are clustered together var clusterGateways = "1"; var gatewayMarkers = L.markerClusterGroup({ maxClusterRadius: 40}); var showOfflineGateways = ""; var showUnmappedGateways = ""; var showTtnV3Gateways = ""; var showChirpV3Gateways = ""; // When less than this number of gateways are in view we display the full resolution coverage var layerSwapGwCount = 600; // If les than this number is shown we display a lower resolution coverage, ie. circles var layerHideGwCount = 4000; // Above this number we only display the gateway markers. // The location to which the map will zoom to for a new user. var initialCoords = [48.209661, 10.251494]; var initialZoom = 6;