var isTtnMapperOrg = "1"; 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 gatewayMarkerV3 = L.icon({ iconUrl: "/resources/TTS_V3_GW_flags.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 gatewayMarkerHelium = L.icon({ iconUrl: "/resources/helium-gateway-white-center.svg", iconSize: [20, 20], iconAnchor: [10, 10], popupAnchor: [0, 0] }); // Gateway markers are clustered together var clusterGateways = "1"; var gatewayMarkers = L.markerClusterGroup({ maxClusterRadius: 20}); var showOfflineGateways = ""; var showUnmappedGateways = "1"; var showTtnV3Gateways = "1"; var showChirpV3Gateways = "1"; // 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;