UK AMATEUR LICENCE ZONES
The UK Amateur Licence Schedules have a number of designated zones where restrictions apply.
Markers indicate NGR Coordinates, whilst yellow circles give their area (50 or 100km radius).
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); google.maps.event.addListener(marker, 'click', function() { 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
// gmarkers[id] = marker; // htmls1[id] = html1; // htmls2[id] = html2; }); };
function createCircle(point, size) {
var circleOptions = { strokeColor: '#FF0000', strokeOpacity: 0.9, strokeWeight: 1, fillColor: '#FFFF80', fillOpacity: 0.25, map: map, center: point, clickable: false, radius: size*1000 // Scale up to km }; var drawCircle = new google.maps.Circle(circleOptions); }
// Zone Menu function myclick(id) { // map.setCenter(gmarkers[i].getPosition()); google.maps.event.trigger(gmarkers[id], 'click'); }
//Map Options such as Reset, Toggle map type function menuclick(id) { if (id==1) { var pt = new google.maps.LatLng(52.7, -2.3); map.setCenter(pt); map.setZoom(7); 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:7, center: new google.maps.LatLng(52.7, -2.3), 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="";
var point = new google.maps.LatLng(51.5083333, -0.1233333 ); //Charing Cross
var marker = createMarker(point, 'Charing Cross', 'Charing Cross
431-432MHz, 100km radius
IO91WM', 'xx', "red");
createCircle(point, 100);
navlinks_html += 'Centres: ' + "Charing Cross" + '<\/a> ';
var point = new google.maps.LatLng(50.8858600, -4.5518776); //Bude
var marker = createMarker(point, 'Bude', 'NGR: SS 206127
Bude
IO70RV32 ', 'xx', "red");
createCircle(point, 50);
navlinks_html += '' + "Bude(SS)" + '<\/a> ';
var point = new google.maps.LatLng(51.8991800, -2.1234879); //Cheltenham
var marker = createMarker(point, 'Cheltenham', 'NGR: SO 916223
Cheltenham
IO81WV55', 'xx', "red");
createCircle(point, 50);
navlinks_html += '' + "Cheltenham(SO)" + '<\/a> ';
var point = new google.maps.LatLng(53.1640200, -0.5281328); //Waddington
var marker = createMarker(point, 'Waddington', 'NGR: SK 985640
Waddington
IO93RD69', 'xx', "red");
createCircle(point, 50);
navlinks_html += '' + "Waddington(SK)" + '<\/a> ';
var point = new google.maps.LatLng(54.0149200, -1.6932249); //Harrogate
var marker = createMarker(point, 'Harrogate', 'NGR: SE 202577
Harrogate, Menwith Hill
IO94DA63', 'xx', "red");
createCircle(point, 50);
navlinks_html += '' + "Harrogate(SE)" + '<\/a> ';
var point = new google.maps.LatLng(54.2677500, -0.4476280); //Irton Moor, Scarborough
var marker = createMarker(point, 'Scarborough', 'NGR: TA 012869
Scarborough, Irton Moor
144-146MHz
IO94SG64', 'xx', "red");
createCircle(point, 50);
navlinks_html += '' + "Scarborough(TA)" + '<\/a> ';
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
2-Aug-2021