{"id":28,"date":"2017-11-14T17:28:53","date_gmt":"2017-11-14T17:28:53","guid":{"rendered":"http:\/\/cms.tunbridgewellscroquet.org.uk\/?page_id=28"},"modified":"2022-11-28T15:50:09","modified_gmt":"2022-11-28T15:50:09","slug":"our-location","status":"publish","type":"page","link":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/?page_id=28","title":{"rendered":"Clubs Map"},"content":{"rendered":"<p><!-- Load Leaflet: http:\/\/leafletjs.com\/ --><br \/>\n<!--\nTHIS WORKED UNTIL THERE WAS A LEAFLET CHANGE:\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.2.0\/dist\/leaflet.css\" integrity=\"sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT\/fJISVA1r\/zQ==\" crossorigin=\"\" \/>\n<script src=\"https:\/\/unpkg.com\/leaflet@1.2.0\/dist\/leaflet.js\" integrity=\"sha512-lInM\/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log==\" crossorigin=\"\"><\/script>\n\nTHIS IS THE THEORTICAL REPLACEMENT (untested):\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.7.1\/dist\/leaflet.css\"\n  integrity=\"sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6\/keqq\/sMZMZ19scR4PsZChSR7A==\"  crossorigin=\"\"\/>\n\nTHIS IS THE EQUIVALENT WITH SOME POTENTIAL SECURITY ISSUES (untested):\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.7.1\/dist\/leaflet.css\" \/>\n<script src=\"https:\/\/unpkg.com\/leaflet@1.7.1\/dist\/leaflet.js\"><\/script>\n--><\/p>\n<p><!--THIS ALLOWS FOR AUTO-UPDATES OF LEAFLET.JS-->\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.css\" \/>\n<script src=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.js\"><\/script><\/p>\n<style>\n      #map {height:600px;  width: 99%;\tmargin: 5px;}\n<\/style>\n<div>\n<p align=\"center\">The map below reflects all known clubs and groups in Kent, London, Surrey and Sussex. <span style=\"color: red;\">Federation clubs have a red pin<\/span>, <span style=\"color: blue;\">other clubs are blue<\/span>, groups or clubs without a lawn are in white. The head of the pin is the actual location.<br \/>\n<span class=\"noprint\">Click on the pin and then on the club name to take you to a page giving further details or the club&#8217;s web site.<br \/>\nIf you find an error please email the <a href=\"mailto:webmaster@southeastcroquet.org.uk\">webmaster<\/a>.<\/span><\/p>\n<p class=\"noprint\" align=\"center\"><button><a href=\"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/local-clubs\/\">Click here for our full list of clubs with contact details<\/a><\/button><\/p>\n<div id=\"map\"><\/div>\n<p><!--\u2014 The format of the clubs definition lines is: #name from clubdetails2.htm,title,latitude,longitude,colour, You must use single quotes to encase the non-numeric items and trailing commas on each line, apart from last entry, when a trailing comma must NOT be used. You can find out a latitude\/longitude from a postcode using Google Maps and right click on the location, then select What's Here. This will be only approximate sometimes, especially in country areas. The following colours can be used: gray, green, orange, purple, red (default for SECF club), white, yellow, blue, brown, black 'winchester','Winchester Racquets & Fitness',51.072228,-1.330276,'red', \u2014--><\/p>\n<p><script type=\"text\/javascript\" language=\"JavaScript\">\nvar base = '<a href=\"';\nvar tiles = L.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {attribution: '&copy; <a href=\"https:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a> contributors'}),latlng = new L.LatLng(51.15, 0.2679);\nvar map = new L.Map('map', {center: latlng, zoom: 9.1, layers: [tiles]});\nclubs = new Array(\n'allengland','All England Lawn Tennis Club',51.433743,-0.213770,'blue',\n'angmering','Angmering Croquet Club',50.82266,-0.49864,'red',\n'bexley','Bexley Croquet Club',51.458382,0.171462,'blue',\n'bishopduppas','Bishop Duppas Bowls Club',51.39030,-0.43410,'blue',\n'Bognor','Bognor Croquet',50.78636,-0.68750,'red',\n'bookham','Bookham U3A',51.259010,-0.374161,'white',\n'bromley','Bromley Croquet Club',51.393540,0.037315,'red',\n'canterbury','Canterbury Croquet Club',51.279409,1.124246,'red',\n'caterham','Caterham Croquet Club',51.28276,-0.087,'red',\n'cheam','Cheam Croquet & Bowls Club',51.36117,-0.22004,'red',\n'cheyney','Cheyney Croquet Club',50.89467,0.06114,'red',\n'chichester','Chichester and Fishbourne Croquet Club',50.83872,-0.81891,'red',\n'compton','Compton Croquet Club',50.76575,0.27418,'red',\n'crawley','Crawley Croquet Club',51.12727,-0.14924,'red',\n'croqueteast','Croquet East',51.539693,-0.03773,'red',\n'sedlescombe','The Croqueteers',50.99121682730495,0.551571442673876,'red',\n'dogmersfield','Dogmersfield Croquet Club',51.25770,-0.89046,'red',\n'dulwich','Dulwich Croquet Club',51.449178,-0.09561,'red',\n'ealing','Ealing Croquet Club',51.5044,-0.309554,'red',\n'ember','Ember Croquet Club',51.3855,-0.357,'red',\n'enfield','Enfield Croquet Club',51.64907,-0.06959,'blue',\n'epsom','Epsom Croquet Club',51.32604,-0.271,'blue',\n'finchley','Finchley Victoria Bowling & Croquet',51.60547,-0.18469,'blue',\n'guildford','Guildford & Godalming Croquet Club',51.20005,-0.58947,'red',\n'hampstead','Hampstead Heath Croquet Club',51.559815,-0.151117,'red',\n'handcross','Handcross Croquet Club',51.057230,-0.198700,'blue',\n'hassocks','Hassocks Croquet Club',50.921,-0.12749,'red',\n'hove','Hove Beach Croquet Club',50.82357,-0.16461,'red',\n'hurlingham','Hurlingham Club',51.46684,-0.204,'red',\n'ivychurch','Ivychurch Croquet Club',51.03871,0.90108,'red',\n'lewesu3a','Lewes U3A Croquet',50.87393,0.00251,'red',\n'littlehampton','Littlehampton Croquet Club',50.808257,-0.531526,'red',\n'livery','Livery Companies',50.830221,0.127524,'white',\n'lodsworth','Lodsworth Croquet Club',51.0002,-0.68295,'red',\n'medway','Medway Croquet Club',51.29917,0.45596,'red',\n'merton','Merton Croquet Club',51.408376,-0.20543,'red',\n'preston','Preston Croquet Club',50.843,-0.1476,'red',\n'purley','Purley Bury Croquet Club',51.33880,-0.10396,'red',\n'ramsgate','Ramsgate Croquet Club',51.328095,1.4055,'red',\n'reigate','Reigate Priory Croquet Club',51.23616,-0.21252,'red',\n'roehampton','Roehampton Club',51.46288,-0.24516,'red',\n'rother','Rother Valley Croquet Club',50.95145,-0.62995,'red',\n'rottingdean','Rottingdean Croquet Club',50.80629,-0.05867,'red',\n'tunbridgewells','Royal Tunbridge Wells Croquet Club',51.13116,0.2679,'red',\n'rye','Rye Tennis and Squash Club',50.95843,0.73903,'blue',\n'surbiton','Surbiton Croquet Club',51.38736,-0.288,'red',\n'sussex','Sussex County Croquet Club',50.83257,-0.24370,'red',\n'sydenham','Sydenham Croquet Club',51.429303,-0.048037,'red',\n'waldron','Waldron Croquet',50.954223,0.200604,'blue',\n'walmer','Walmer Lawn Tennis & Croquet Club',51.20958,1.40101,'blue',\n'westchiltington','West Chiltington Croquet Club',50.95062,-0.459339,'red',\n'westlondon','West London Bowling Club',51.52058,-0.22406,'blue',\n'westwittering','West Wittering Croquet Club',50.779271,-0.885529,'blue',\n'westworthing','West Worthing Croquet Club',50.829727,-0.433889,'red',\n'woking','Woking Croquet Club',51.30698,-0.5785,'red',\n'woodcotehouseschool','Woodcote House School',51.371210,-0.667957,'blue',\n'worthing','Worthing Croquet Club',50.82016,-0.40885,'red'\n);\n<!--\n\tfor (var z=0;z<clubs.length;z+=5) {\n\t\tvar name = clubs[z+1];\n\t\tvar html = '<a href=\"\/local-clubs#' + clubs[z] + '\">' + name + '<\/a>';\n\t\tvar lat = clubs[z+2];\n\t\tvar long = clubs[z+3];\n\t\tvar colour = clubs[z+4];\n\t\tvar\ticon = L.icon({iconUrl: '..\/files\/map_markers\/' + colour + '.png', iconAnchor: [0, 20]});\n\n\t\tvar marker = L.marker([lat, long], {icon: icon}).addTo(map)\n\t\t    .bindPopup(html)\n \t\t\t.openPopup();\n  };\n<\/script>\n\n<\/div>\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The map below reflects all known clubs and groups in Kent, London, Surrey and Sussex. Federation clubs have a red pin, other clubs are blue, groups or clubs without a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-28","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/pages\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":96,"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions"}],"predecessor-version":[{"id":11485,"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions\/11485"}],"wp:attachment":[{"href":"https:\/\/southeastcroquetfederation.org.uk\/1674644977408\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}