BEACONS – 13cms / 2.3GHz
The following uses Google Maps to show the locations of 13cm / 2.3GHz Microwave Beacons in the UK:-
|
var gmarkers = []; var myicon = ""; var htmls = []; var htmls1 = []; var htmls2 = []; var navlinks_html = ""; var menulinks_html = ""; var openedWindow = null ; // Remember the opened window // Define extra colored icons - as default is red var gicons = []; gicons[""] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png" ; gicons["red"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png" ; //gicons["red"].iconSize = new GSize(32,32); gicons["blue"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.png" ; //gicons["blue"].iconSize = new GSize(32,32); gicons["green"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/green-dot.png" ; //gicons["green"].iconSize = new GSize(32,32); gicons["yellow"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/yellow-dot.png" ; //gicons["yellow"].iconSize = new GSize(32,32); gicons["purple"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/purple-dot.png" ; //gicons["purple"].iconSize = new GSize(32,32); gicons["orange"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/orange-dot.png" ; //gicons["orange"].iconSize = new GSize(32,32); gicons["pink"] = "https://www.google.com/intl/en_us/mapfiles/ms/micons/pink-dot.png" ; //gicons["pink"].iconSize = new GSize(32,32); function createMarker(point,callsign, html1, html2, myicon) { var marker = new google.maps.Marker({ position: point, map: map, icon: gicons[myicon], title: callsign }); gmarkers.push(marker); htmls1.push(html1); htmls2.push(html2); // var id = 55; google.maps.event.addListener(marker, 'click', function() { beaconinfo_html= html1+ ' ' + html2 ; document.getElementById("beaconinfo").innerHTML = beaconinfo_html; var infowindow = new google.maps.InfoWindow({ content: html1 // NB html2 not used unless tabs available }); if (openedWindow != null) openedWindow.close(); infowindow.open(map, marker); openedWindow = infowindow ; // remember it }); }; // Beacon menu function myclick(id) { // map.setCenter(gmarkers[i].getPosition()); google.maps.event.trigger(gmarkers[id], 'click'); beaconinfo_html= htmls1[id]+ ' ' + htmls2[id] ; document.getElementById("beaconinfo").innerHTML = beaconinfo_html; } //Map Options such as Reset, Toggle map type function menuclick(id) { if (id==1) { var pt = new google.maps.LatLng(54, -1); map.setCenter(pt); map.setZoom(5); map.setMapTypeId(google.maps.MapTypeId.ROADMAP); if (openedWindow != null) openedWindow.close(); beaconinfo_html= " " ; document.getElementById("beaconinfo").innerHTML = beaconinfo_html; }; if (id==2) { var currentMapType = map.getMapTypeId(); if (currentMapType == "roadmap") { map.setMapTypeId(google.maps.MapTypeId.TERRAIN)} if (currentMapType == "terrain") { map.setMapTypeId(google.maps.MapTypeId.HYBRID)} if (currentMapType == "hybrid") { map.setMapTypeId(google.maps.MapTypeId.ROADMAP)} if (currentMapType == "satellite") { map.setMapTypeId(google.maps.MapTypeId.ROADMAP)} } } var map; var mapOptions = { zoom:5, center: new google.maps.LatLng(54, -1), panControl: true, zoomControl: true, zoomControlOptions: { style: google.maps.ZoomControlStyle.NORMAL }, rotateControl: true, scaleControl: true, scaleControlOptions: { position: google.maps.ControlPosition.RIGHT_CENTER }, mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR }, streetViewControl: false, overviewMapControl: true, overviewMapControlOptions: {opened: true} // mapTypeId: google.maps.MapTypeId.TERRAIN }; var map = new google.maps.Map(document.getElementById("map"), mapOptions); // Close InfoWindow when clicking anywhere on the map. google.maps.event.addListener(map, 'click', function() { if (openedWindow != null) openedWindow.close(); }); var myicon=""; // Norwich
//var point = new google.maps.LatLng( 52.6274,1.2865 );
var point = new google.maps.LatLng( 52.6277700, 1.2853 );
var marker = createMarker(point, 'GB3ANT', 'GB3ANT // Stroud
var point = new google.maps.LatLng( 51.719500, -2.4745 );
var marker = createMarker(point, 'GB3BSS', 'GB3BSS // Kilsyth, Scotland
var point = new google.maps.LatLng( 55.9979100, -4.0362723 );
var marker = createMarker(point, 'GB3CSB', 'GB3CSB // Farnham, Hampshire
// var point = new google.maps.LatLng( 51.237884, -0.825353 );
// var marker = createMarker(point, 'GB3FNM', 'GB3FNM // Leicester
var point = new google.maps.LatLng(52.6924,-1.2823);
var marker = createMarker(point, 'GB3LES', 'GB3LES // Bampton
var point = new google.maps.LatLng(51.711756, -1.552665);
var marker = createMarker(point, 'GB3LPS', 'GB3LPS // Martlesham Heath, Suffolk
var point = new google.maps.LatLng(52.0564,1.2808333);
var marker = createMarker(point, 'GB3MHZ', 'GB3MHZ // Bell Hill, Dorset
//var point = new google.maps.LatLng(50.8729 ,-2.2875);
var point = new google.maps.LatLng(50.8738500,-2.2856153);
var marker = createMarker(point, 'GB3SCS', 'GB3SCS // Telford
var point = new google.maps.LatLng(52.65923,-2.52047 );
var marker = createMarker(point, 'GB3ZME', 'GB3ZME // Add more here menulinks_html = 'Options: ' + "Reset" + '<\/a> '; menulinks_html += '' + "Toggle-MapType" + '<\/a> '; // put the assembled menu/navlinks_html contents into the navbars divs document.getElementById("navlinks").innerHTML = navlinks_html; document.getElementById("menulinks").innerHTML = menulinks_html;
|
|
Notes:
Click here if you do not see the main menu bar on the left
22-Mar-2026