var map;
var geocoder;
var centerChangedLast;
var reverseGeocodedLast;
var currentReverseGeocodeResponse;
var visibleInfoWindow= null;
var markers=Array();
function initialize() {
var latlng = new google.maps.LatLng(51.5476447, -0.0601675);
var myOptions = {
zoom: 13,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
navigationControl: true,
navigationControlOptions: google.maps.NavigationControlStyle.SMALL,
mapTypeControl: false,
scaleControl: true
};
map = new google.maps.Map(document.getElementById("googleMap"), myOptions);
geocoder = new google.maps.Geocoder();
setMarkers();
setupEvents();
centerChanged();
}
function setupEvents() {
reverseGeocodedLast = new Date();
centerChangedLast = new Date();
//get address every 1 sec
/*
setInterval(function() {
if((new Date()).getSeconds() - centerChangedLast.getSeconds() > 1) {
if(reverseGeocodedLast.getTime() < centerChangedLast.getTime())
reverseGeocode();
}
}, 1000);
*/
google.maps.event.addListener(map, 'zoom_changed', function() {
//document.getElementById("zoom_level").innerHTML = map.get_zoom();
});
google.maps.event.addListener(map, 'center_changed', centerChanged);
google.maps.event.addDomListener(document.getElementById('crosshair'),'dblclick', function() {
map.set_zoom(map.get_zoom() + 1);
});
}
function getCenterLatLngText() {
return map.getCenter().lat() +', '+ map.getCenter().lng();
}
function centerChanged() {
centerChangedLast = new Date();
var latlng = getCenterLatLngText();
document.getElementById('latlng').value = latlng;
//document.getElementById('formatedAddress').innerHTML = '';
currentReverseGeocodeResponse = null;
}
function reverseGeocode() {
reverseGeocodedLast = new Date();
geocoder.geocode({latLng:map.getCenter()},reverseGeocodeResult);
}
function reverseGeocodeResult(results, status) {
currentReverseGeocodeResponse = results;
if(status == 'OK') {
if(results.length == 0) {
document.getElementById('address').value = 'None';
} else {
document.getElementById('address').value = results[0].formatted_address;
}
} else {
document.getElementById('address').value = 'Error';
}
}
function geocode() {
var error='';
if (document.getElementById("address").value!="" && document.getElementById("area").value=="") error=error+'Please enter the area\r\n';
if (document.getElementById("address").value=="" && document.getElementById("area").value=="" && document.getElementById("postcode").value=="") error=error+'Please enter the area and/or the postcode\r\n';
//if (document.getElementById("postcode").value=="") error=error+'- the postcode\r\n';
if (error) {
//error='Please enter:\r\n'+error;
alert (error);
} else {
document.getElementById('proximityresults').innerHTML='searching...';
var address = document.getElementById("address").value+', '+document.getElementById("area").value+', '+document.getElementById("postcode").value+', UK';
geocoder.geocode({
'address': address,
'partialmatch': true}, geocodeResult);
}
}
function geocodeResult(results, status) {
if (status == 'OK' && results.length > 0) {
map.fitBounds(results[0].geometry.viewport);
getNearest(map.getCenter().lat(), map.getCenter().lng());
} else {
alert("Geocode was not successful for the following reason: " + status);
}
}
function setMarkers(){
var shape = {
coord: [9, 34, 0, 8, 9, 0, 19 , 9],
type: 'poly'
};
var icons=Array();
markerGroups = Array();
icons['event-youth']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-youth']= Array();
icons['event-music']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-music']= Array();
icons['event-sport']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-sport']= Array();
icons['event-entertainment']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-entertainment']= Array();
icons['event-arts']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-arts']= Array();
icons['event-general']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-general']= Array();
icons['event-']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-']= Array();
icons['event-- select -']=new google.maps.MarkerImage('/images/map-icons/event-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['event-- select -']= Array();
icons['org-youth-clubs']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-youth-clubs']= Array();
icons['org-volunteering']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-volunteering']= Array();
icons['org-workshops']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-workshops']= Array();
icons['org-sports']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-sports']= Array();
icons['org-libraries']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-libraries']= Array();
icons['org-music']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-music']= Array();
icons['org-colleges']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-colleges']= Array();
icons['org-artscrafts']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-artscrafts']= Array();
icons['org-council']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-council']= Array();
icons['org-initiative']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-initiative']= Array();
icons['org-leisure-centres']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-leisure-centres']= Array();
icons['org-forumsparliaments']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-forumsparliaments']= Array();
icons['org-other']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-other']= Array();
icons['org-museums']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-museums']= Array();
icons['org-playgrounds']=new google.maps.MarkerImage('/images/map-icons/org-blank.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(9, 34)); markerGroups['org-playgrounds']= Array();
var locations=Array();
locations.push(['Blue Hut (Skyway)', 51.529467700000005, -0.0888833, 'org-youth-clubs', '/organisations/youth-clubs/blue-hut-skyway.php','']);
locations.push(['Hackney Play Association', 51.527277586595545, -0.0759174313354527, 'org-volunteering', '/organisations/volunteering/hackney-play-association.php','']);
locations.push(['Elevate', 51.5741399, -0.07234310000000001, 'org-workshops', '/organisations/workshops/elevate.php','']);
locations.push(['Stamford Hill Library', 51.57062542405814, -0.07280814737549157, 'org-libraries', '/organisations/libraries/stamford-hill-library.php','']);
locations.push(['Urban Voice Music', 51.54785819943592, -0.06016750000000348, 'org-music', '/organisations/music/urban-voice-music.php','']);
locations.push(['Hackney Community College', 51.53077570881283, -0.07869695000000343, 'org-colleges', '/organisations/colleges/hackney-community-college.php','']);
locations.push(['Discover Young Hackney', 51.5445524, -0.0577603, 'org-artscrafts', '/organisations/artscrafts/discover-young-hackney.php','']);
locations.push(['Hackney Youth Offer', 51.545082628623014, -0.0560047116088902, 'org-council', '/organisations/council/hackney-youth-offer.php','']);
locations.push(['Frampton Park Youth Club', 51.542265510181856, -0.04911275262451831, 'org-youth-clubs', '/organisations/youth-clubs/frampton-park-youth-club.php','']);
locations.push(['Hoxton Hall', 51.5304916, -0.0802494, 'org-youth-clubs', '/organisations/youth-clubs/hoxton-hall.php','']);
locations.push(['Laburnum Boat Club', 51.535311708830534, -0.07354980000000566, 'org-youth-clubs', '/organisations/youth-clubs/laburnum-boat-club.php','']);
locations.push(['Marcon Court Youth Club', 51.548225558884376, -0.05735400000000723, 'org-youth-clubs', '/organisations/youth-clubs/marcon-court-youth-club.php','']);
locations.push(['Parkside Youth Club', 51.57250960897571, -0.09370114999998957, 'org-youth-clubs', '/organisations/youth-clubs/parkside-youth-club.php','']);
locations.push(['The Pedro Youth Club', 51.555001471163656, -0.0434891616393962, 'org-youth-clubs', '/organisations/youth-clubs/the-pedro-youth-club.php','']);
locations.push(['Hackney Voluntary Action', 51.54777619116664, -0.0684499740600586, 'org-volunteering', '/organisations/volunteering/hackney-voluntary-action.php','']);
locations.push(['London Wildlife Trust', 51.5476447, -0.0601675, 'org-volunteering', '/organisations/volunteering/london-wildlife-trust.php','']);
locations.push(['Robin Redmond Centre', 51.5687445, -0.09700365, 'org-youth-clubs', '/organisations/youth-clubs/robin-redmond-centre.php','']);
locations.push(['Fellows Court Community Centre', 51.532607899999995, -0.07248165, 'org-youth-clubs', '/organisations/youth-clubs/fellows-court-community-centre.php','']);
locations.push(['New Kingshold Community Centre', 51.53966775, -0.05075865, 'org-youth-clubs', '/organisations/youth-clubs/new-kingshold-community-centre.php','']);
locations.push(['National Playday', 51.5302618, -0.1021855, 'org-initiative', '/organisations/initiative/national-playday.php','']);
locations.push(['Urban Griots', 51.54991499999999, -0.0428447, 'org-workshops', '/organisations/workshops/urban-griots.php','']);
locations.push(['The Access to Sports Project', 51.55482540890663, -0.11128799999999606, 'org-sports', '/organisations/sports/the-access-to-sports-project.php','']);
locations.push(['Kickz Programme', 51.56642881541982, -0.016050526123050357, 'org-sports', '/organisations/sports/kickz-programme.php','']);
locations.push(['Nemesis Street Dance', 51.545786515898925, -0.05541840000000686, 'org-sports', '/organisations/sports/nemesis-street-dance.php','']);
locations.push(['Queensbridge Sport & Community Centre', 51.5420841, -0.0717019, 'org-leisure-centres', '/organisations/leisure-centres/queensbridge-sport-and-community-centre.php','']);
locations.push(['London Fields Lido', 51.542317149999995, -0.062140449999999986, 'org-sports', '/organisations/sports/london-fields-lido.php','']);
locations.push(['Stoke Newington West Reservoir Centre', 51.565704705945286, -0.09397844999999183, 'org-sports', '/organisations/sports/stoke-newington-west-reservoir-centre.php','']);
locations.push(['Britannia Leisure Centre', 51.535836158836034, -0.08331760000000354, 'org-leisure-centres', '/organisations/leisure-centres/britannia-leisure-centre.php','']);
locations.push(['Kings Hall Leisure Centre', 51.5507014, -0.0528502, 'org-leisure-centres', '/organisations/leisure-centres/kings-hall-leisure-centre.php','']);
locations.push(['Hackney Central Library', 51.54456886257014, -0.05596179626465192, 'org-libraries', '/organisations/libraries/hackney-central-library.php','']);
locations.push(['Stoke Newington Library', 51.5622133, -0.0771404, 'org-libraries', '/organisations/libraries/stoke-newington-library.php','']);
locations.push(['Shoreditch Library', 51.530212158814074, -0.08024964999999717, 'org-libraries', '/organisations/libraries/shoreditch-library.php','']);
locations.push(['Homerton Children\'s Library', 51.54857905, -0.044860000000000004, 'org-libraries', '/organisations/libraries/homerton-childrens-library.php','']);
locations.push(['Clapton Library', 51.56271915894096, -0.06207250000000997, 'org-libraries', '/organisations/libraries/clapton-library.php','']);
locations.push(['CLR James Library', 51.548363310507845, -0.06780624389648438, 'org-libraries', '/organisations/libraries/clr-james-library.php','']);
locations.push(['Skyway Charity', 51.53546995883462, -0.07693405000000375, 'org-initiative', '/organisations/initiative/skyway-charity.php','']);
locations.push(['Mouth That Roars', 51.525675300785025, -0.0811605576721286, 'org-artscrafts', '/organisations/artscrafts/mouth-that-roars.php','']);
locations.push(['Rising Tide', 51.54477570414633, -0.05503375194549909, 'org-artscrafts', '/organisations/artscrafts/rising-tide.php','']);
locations.push(['Greenwich Leisure Limited (GLL)', 51.54444208823651, -0.05621928833008161, 'org-leisure-centres', '/organisations/leisure-centres/greenwich-leisure-limited-gll.php','']);
locations.push(['SkyWay Media Hub', 51.53044135997619, -0.08911389968874417, 'org-workshops', '/organisations/workshops/skyway-media-hub.php','']);
locations.push(['Hackney Youth Service', 51.54668394014027, -0.04634875915527692, 'org-council', '/organisations/council/hackney-youth-service.php','']);
locations.push(['Hackney Youth Parliament', 51.544486628993134, -0.056293237573250554, 'org-forumsparliaments', '/organisations/forumsparliaments/hackney-youth-parliament.php','']);
locations.push(['Free Form Arts Trust', 51.543241050707984, -0.057850071411136295, 'org-artscrafts', '/organisations/artscrafts/free-form-arts-trust.php','']);
locations.push(['Hackney Homes', 51.54540765887338, -0.056112899999996024, 'org-other', '/organisations/other/hackney-homes.php','']);
locations.push(['Crown and Manor Club', 51.536237332606895, -0.08668522936095657, 'org-sports', '/organisations/sports/crown-and-manor-club.php','']);
locations.push(['Geffrye Museum', 51.53245095, -0.07739485000000001, 'org-museums', '/organisations/museums/geffrye-museum.php','']);
locations.push(['Centerprise', 51.549967200000005, -0.0752438, 'org-artscrafts', '/organisations/artscrafts/centerprise.php','']);
locations.push(['Hackney Marsh Partnership Youth Club', 51.55055464277972, -0.033467333081049766, 'org-youth-clubs', '/organisations/youth-clubs/hackney-marsh-partnership-youth-club.php','']);
locations.push(['Lion Club for Young People', 51.52858555056994, -0.08335816931151374, 'org-youth-clubs', '/organisations/youth-clubs/lion-club-for-young-people.php','']);
locations.push(['Markfield Project', 51.58321616882933, -0.06397673068848198, 'org-youth-clubs', '/organisations/youth-clubs/markfield-project.php','']);
locations.push(['Pembury Estate Youth Club', 51.55121430889256, -0.05869850000000065, 'org-youth-clubs', '/organisations/youth-clubs/pembury-estate-youth-club.php','']);
locations.push(['S. Pinter Youth Project', 51.5690421, -0.086184, 'org-playgrounds', '/organisations/playgrounds/s-pinter-youth-project.php','']);
locations.push(['Senegambia Youth Association', 51.549967200000005, -0.0752438, 'org-youth-clubs', '/organisations/youth-clubs/senegambia-youth-association.php','']);
locations.push(['Springfield Youth Club', 51.56594139999999, -0.05455555, 'org-youth-clubs', '/organisations/youth-clubs/springfield-youth-club.php','']);
locations.push(['Stepping Up Youth Project', 51.55342219358514, -0.03428272462157711, 'org-youth-clubs', '/organisations/youth-clubs/stepping-up-youth-project.php','']);
locations.push(['Scout Association', 51.64619135, -0.0091708, 'org-initiative', '/organisations/initiative/scout-association.php','']);
locations.push(['Girlguiding London and South East England', 51.4471771, -0.1576494, 'org-initiative', '/organisations/initiative/girlguiding-london-and-south-east-england.php','']);
locations.push(['Hackney Modern', 51.56772515, -0.06963405, 'org-artscrafts', '/organisations/artscrafts/hackney-modern.php','']);
locations.push(['Hackney Quest', 51.54415849269001, -0.0464447957702574, 'org-youth-clubs', '/organisations/youth-clubs/hackney-quest.php','']);
locations.push(['Tropical Isles', 51.549252599999995, -0.0753207, 'org-workshops', '/organisations/workshops/tropical-isles.php','']);
locations.push(['Hackney Recruitment Partnership', 51.5485729, -0.0758013, 'org-initiative', '/organisations/initiative/hackney-recruitment-partnership.php','']);
locations.push(['Drake Music Project', 51.5241593, -0.0733135, 'org-music', '/organisations/music/drake-music-project.php','']);
locations.push(['Arcola Theatre', 51.55199245, -0.07344455, 'org-artscrafts', '/organisations/artscrafts/arcola-theatre.php','']);
locations.push(['Chats Palace', 51.54991499999999, -0.0428447, 'org-artscrafts', '/organisations/artscrafts/chats-palace.php','']);
locations.push(['Hackney Empire', 51.545380800000004, -0.0552503, 'org-artscrafts', '/organisations/artscrafts/hackney-empire.php','']);
locations.push(['Immediate Theatre', 51.5304405, -0.0802531, 'org-artscrafts', '/organisations/artscrafts/immediate-theatre.php','']);
locations.push(['Quicksilver Theatre', 51.5403691, -0.0778297, 'org-artscrafts', '/organisations/artscrafts/quicksilver-theatre.php','']);
locations.push(['Theatre Centre', 51.526852414573106, -0.0793143561767673, 'org-artscrafts', '/organisations/artscrafts/theatre-centre.php','']);
locations.push(['Hackney Music Development Trust', 51.54438280000001, -0.0572397, 'org-music', '/organisations/music/hackney-music-development-trust.php','']);
locations.push(['The Hackney Music Service', 51.53949300000001, -0.06912295, 'org-music', '/organisations/music/the-hackney-music-service.php','']);
locations.push(['Carol Straker Dance Foundation', 51.55442846630866, -0.05424986704101187, 'org-artscrafts', '/organisations/artscrafts/carol-straker-dance-foundation.php','']);
locations.push(['Hackney Museum', 51.54476041332971, -0.05559682846069336, 'org-museums', '/organisations/museums/hackney-museum.php','']);
locations.push(['Museum of Childhood', 51.52906446684804, -0.055747032165527344, 'org-museums', '/organisations/museums/museum-of-childhood.php','']);
locations.push(['Ragged School Museum', 51.51990669999999, -0.03510515, 'org-museums', '/organisations/museums/ragged-school-museum.php','']);
locations.push(['Hackney City Tennis Clubs', 51.56130358393049, -0.08675425659178782, 'org-sports', '/organisations/sports/hackney-city-tennis-clubs.php','']);
locations.push(['Hackney Women\'s Football Club', 51.55249961840673, -0.023560523986816406, 'org-sports', '/organisations/sports/hackney-womens-football-club.php','']);
locations.push(['Lee Valley Riding Centre', 51.56952095, -0.027273199999999997, 'org-sports', '/organisations/sports/lee-valley-riding-centre.php','']);
locations.push(['Shoreditch Youth F.C.', 51.527863023475135, -0.08737564086914062, 'org-sports', '/organisations/sports/shoreditch-youth-fc.php','']);
locations.push(['Victoria Park Harriers & Tower Hamlets AC', 51.54452021004045, -0.03325939178466797, 'org-sports', '/organisations/sports/victoria-park-harriers-and-tower-hamlets-ac.php','']);
locations.push(['Purple Bus', 51.545189384477496, -0.056133457641605045, 'org-youth-clubs', '/organisations/youth-clubs/purple-bus.php','']);
locations.push(['BSix Brooke House 6th Form College', 51.55875472282431, -0.057638540722650955, 'org-colleges', '/organisations/colleges/bsix-brooke-house-6th-form-college.php','']);
locations.push(['Clissold Leisure Centre', 51.5566239, -0.0865004, 'org-leisure-centres', '/organisations/leisure-centres/clissold-leisure-centre.php','']);
locations.push(['Shoreditch Trust', 51.529467700000005, -0.0888833, 'org-initiative', '/organisations/initiative/shoreditch-trust.php','']);
locations.push(['Eastside Summer Dance Programme ', 51.5277161088009, -0.07659084999998455, 'org-workshops', '/organisations/workshops/eastside-summer-dance-programme-.php','']);
locations.push(['Headliners', 51.5241593, -0.0733135, 'org-initiative', '/organisations/initiative/headliners.php','']);
locations.push(['Forest Road Young People\'s Centre', 51.543035063091864, -0.07299485634459701, 'org-youth-clubs', '/organisations/youth-clubs/forest-road-young-peoples-centre.php','']);
locations.push(['Rolling Sound', 51.48074715862144, -0.03405270000000682, 'org-artscrafts', '/organisations/artscrafts/rolling-sound.php','']);
locations.push(['Lordship South Youth Club', 51.56338392657216, -0.08407557672119204, 'org-youth-clubs', '/organisations/youth-clubs/lordship-south-youth-club.php','']);
locations.push(['Regents Youth Centre ', 51.537271758681264, -0.06557998360594785, 'org-youth-clubs', '/organisations/youth-clubs/regents-youth-centre-.php','']);
locations.push(['Smalley Road Youth Centre', 51.5589135, -0.0730315, 'org-youth-clubs', '/organisations/youth-clubs/smalley-road-youth-centre.php','']);
locations.push(['Wrens Park', 51.5660413220856, -0.05720477275390712, 'org-youth-clubs', '/organisations/youth-clubs/wrens-park.php','']);
locations.push(['Yorkshire Grove', 51.55654110000001, -0.0816347852111865, 'org-youth-clubs', '/organisations/youth-clubs/yorkshire-grove.php','']);
locations.push(['Catch 22 @ Hackney / South Hackney Youth Inclusion Project', 51.539972899999995, -0.0766362, 'org-initiative', '/organisations/initiative/catch-22--hackney--south-hackney-youth-inclusion-project.php','']);
locations.push(['The Crib', 51.53810215, -0.0839578, 'org-youth-clubs', '/organisations/youth-clubs/the-crib.php','']);
locations.push(['Daymer Centre', 51.552782527804226, -0.08245598465577153, 'org-youth-clubs', '/organisations/youth-clubs/daymer-centre.php','']);
locations.push(['North London Muslim Community Centre', 51.56515025895044, -0.06918669999999238, 'org-youth-clubs', '/organisations/youth-clubs/north-london-muslim-community-centre.php','']);
locations.push(['TEDA (Turkish Education and Development Association)', 51.555374, -0.0746591, 'org-youth-clubs', '/organisations/youth-clubs/teda-turkish-education-and-development-association.php','']);
locations.push(['Hackney Marsh Play Association', 51.5489257, -0.03183655, 'org-playgrounds', '/organisations/playgrounds/hackney-marsh-play-association.php','']);
locations.push(['Homerton Grove Adventure Playground', 51.54911645000001, -0.043912849999999996, 'org-playgrounds', '/organisations/playgrounds/homerton-grove-adventure-playground.php','']);
locations.push(['Shakespeare Walk Adventure Playground', 51.5552237, -0.0819052, 'org-playgrounds', '/organisations/playgrounds/shakespeare-walk-adventure-playground.php','']);
locations.push(['Shoreditch Park Adventure Playground', 51.533004549999994, -0.0860333, 'org-playgrounds', '/organisations/playgrounds/shoreditch-park-adventure-playground.php','']);
locations.push(['Youth Opportunity Fund (YOF)', 51.5462615, -0.0467424, 'org-initiative', '/organisations/initiative/youth-opportunity-fund-yof.php','']);
locations.push(['Skyway Volunteering', 51.53546995883462, -0.07693405000000375, 'org-volunteering', '/organisations/volunteering/skyway-volunteering.php','']);
locations.push(['Rio Cinema', 51.548137950000004, -0.07544775, 'org-artscrafts', '/organisations/artscrafts/rio-cinema.php','']);
locations.push(['Create Festival', 51.545786515898925, -0.05541840000000686, 'org-music', '/organisations/music/create-festival.php','']);
locations.push(['Circus Space', 51.52706675880183, -0.0828660000000081, 'org-artscrafts', '/organisations/artscrafts/circus-space.php','']);
locations.push(['Rich Mix', 51.5241593, -0.0733135, 'org-artscrafts', '/organisations/artscrafts/rich-mix.php','']);
locations.push(['Museum of London', 51.517676599999994, -0.0964342, 'org-museums', '/organisations/museums/museum-of-london.php','']);
locations.push(['Mile End Park Stadium', 51.5165535, -0.0342383, 'org-leisure-centres', '/organisations/leisure-centres/mile-end-park-stadium.php','']);
locations.push(['Shoreditch Park', 51.53197665, -0.085835, 'org-leisure-centres', '/organisations/leisure-centres/shoreditch-park.php','']);
locations.push(['British Waterways London', 51.545786515898925, -0.05541840000000686, 'org-sports', '/organisations/sports/british-waterways-london.php','']);
locations.push(['Waterworks Golf Centre', 51.56952095, -0.027273199999999997, 'org-sports', '/organisations/sports/waterworks-golf-centre.php','']);
locations.push(['Lee Valley Ice Centre', 51.56952095, -0.027273199999999997, 'org-sports', '/organisations/sports/lee-valley-ice-centre.php','']);
locations.push(['London Youth Rowing', 51.57322886201344, -0.059223175048828125, 'org-sports', '/organisations/sports/london-youth-rowing.php','']);
locations.push(['VLC Centre ', 51.53513832911727, -0.0706787301635714, 'org-youth-clubs', '/organisations/youth-clubs/vlc-centre-.php','']);
locations.push(['Apples and Pears Adventure Play', 51.5329605, -0.0755769, 'org-playgrounds', '/organisations/playgrounds/apples-and-pears-adventure-play.php','']);
locations.push(['Evergreen Play Association', 51.543013349999995, -0.06562035, 'org-playgrounds', '/organisations/playgrounds/evergreen-play-association.php','']);
locations.push(['KIDS Adventure Playground', 51.57000703188053, -0.05572705988769577, 'org-playgrounds', '/organisations/playgrounds/kids-adventure-playground.php','']);
locations.push(['ATC Theatre', 51.52738438421911, -0.07596034667969098, 'org-artscrafts', '/organisations/artscrafts/atc-theatre.php','']);
locations.push(['Saturday Cook Club', 51.5273283, -0.0817347, 'org-artscrafts', '/organisations/artscrafts/saturday-cook-club.php','']);
locations.push(['Homerton Youth Forum', 51.54827300888109, -0.04311330000000391, 'org-forumsparliaments', '/organisations/forumsparliaments/homerton-youth-forum.php','']);
locations.push(['Shoreditch Youth Forum', 51.527711200000006, -0.076582, 'org-forumsparliaments', '/organisations/forumsparliaments/shoreditch-youth-forum.php','']);
locations.push(['North East Youth Forum', 51.55143799361247, -0.05292019999999953, 'org-forumsparliaments', '/organisations/forumsparliaments/north-east-youth-forum.php','']);
locations.push(['Stoke Newington Youth Forum', 51.558049685799084, -0.08437156677246094, 'org-forumsparliaments', '/organisations/forumsparliaments/stoke-newington-youth-forum.php','']);
locations.push(['Hackney Scouts', 51.546482, -0.06204149999999999, 'org-other', '/organisations/other/hackney-scouts.php','']);
locations.push(['Eastside Educational Trust', 51.52823680925529, -0.07630348205566406, 'org-initiative', '/organisations/initiative/eastside-educational-trust.php','']);
locations.push(['WORLDbytes', 51.556920850000004, -0.0472179, 'org-initiative', '/organisations/initiative/worldbytes.php','']);
locations.push(['1-2-3-4 Shoreditch Now Festival', 51.53501765, -0.0877516, 'org-music', '/organisations/music/1-2-3-4-shoreditch-now-festival.php','']);
locations.push(['Hackney City Farm', 51.5312462, -0.0662667, 'org-other', '/organisations/other/hackney-city-farm.php','']);
locations.push(['Rathbone', 51.54835645, -0.061497249999999996, 'org-initiative', '/organisations/initiative/rathbone.php','']);
locations.push(['Brazen Bunch', 51.5476447, -0.0601675, 'org-music', '/organisations/music/brazen-bunch.php','']);
locations.push(['British Gospel Arts', 51.5899845, -0.0234686, 'org-artscrafts', '/organisations/artscrafts/british-gospel-arts.php','']);
locations.push(['Sev Necati Training', 51.562062279047986, -0.0736230000000071, 'org-workshops', '/organisations/workshops/sev-necati-training.php','']);
locations.push(['CHYPS Plus', 51.5510649, -0.0515011, 'org-other', '/organisations/other/chyps-plus.php','']);
locations.push(['The Building Exploratory', 51.536223, -0.0778227, 'org-workshops', '/organisations/workshops/the-building-exploratory.php','']);
locations.push(['Hackney Council for Voluntary Service', 51.54684260000002, -0.07193904947510488, 'org-volunteering', '/organisations/volunteering/hackney-council-for-voluntary-service.php','']);
locations.push(['Street DFa', 51.5476447, -0.0601675, 'org-workshops', '/organisations/workshops/street-dfa.php','']);
locations.push(['Hackney YOT', 51.551471799999995, -0.037452, 'org-council', '/organisations/council/hackney-yot.php','']);
locations.push(['The Golden Co-op', 51.53750232273988, -0.06342906616211286, 'org-other', '/organisations/other/the-golden-co-op.php','']);
locations.push(['Inspire Magazine Design ', 51.53697102206922, -0.0744875037353454, 'org-artscrafts', '/organisations/artscrafts/inspire-magazine-design-.php','']);
locations.push(['Kinetika', 51.51971611579458, -0.0677880809509368, 'org-artscrafts', '/organisations/artscrafts/kinetika.php','']);
locations.push(['RCC Youth Club', 51.5372524164886, -0.06336123865356313, 'org-youth-clubs', '/organisations/youth-clubs/rcc-youth-club.php','']);
locations.push(['Whats Up Information', 51.5476447, -0.0601675, 'org-other', '/organisations/other/whats-up-information.php','']);
locations.push(['MTR OELTV', 51.5256219, -0.0811391, 'org-other', '/organisations/other/mtr-oeltv.php','']);
locations.push(['Salvation Army', 51.55424239999999, -0.05434532275390591, 'org-volunteering', '/organisations/volunteering/salvation-army.php','']);
locations.push(['Cycling Club Hackney ', 51.545218108869165, -0.05733499999999392, 'org-sports', '/organisations/sports/cycling-club-hackney-.php','']);
locations.push(['Future Leaders at the City Academy Hackney', 51.54922840888483, -0.0472248500000072, 'org-forumsparliaments', '/organisations/forumsparliaments/future-leaders-at-the-city-academy-hackney.php','']);
locations.push(['Pembury Learning Centre', 51.547901483213245, -0.06843042645874098, 'org-other', '/organisations/other/pembury-learning-centre.php','']);
locations.push(['City YMCA', 51.522550244916836, -0.09182133610688314, 'org-sports', '/organisations/sports/city-ymca.php','']);
locations.push(['SPACE', 51.54756530887833, -0.054849450000014066, 'org-artscrafts', '/organisations/artscrafts/space.php','']);
locations.push(['HITZ Rugby', 51.545786515898925, -0.05541840000000686, 'org-sports', '/organisations/sports/hitz-rugby.php','']);
locations.push(['The Huddleston Centre', 51.55618425399653, -0.058307064294431665, 'org-youth-clubs', '/organisations/youth-clubs/the-huddleston-centre.php','']);
locations.push(['Tobacco Control Youth Advocacy Group', 51.53431270882661, -0.07882099999999559, 'org-initiative', '/organisations/initiative/tobacco-control-youth-advocacy-group.php','']);
locations.push(['Point Blank Music College', 51.53608894742612, -0.08580941721191282, 'org-colleges', '/organisations/colleges/point-blank-music-college.php','']);
locations.push(['ActionDog Ltd', 51.5476447, -0.0601675, 'org-workshops', '/organisations/workshops/actiondog-ltd.php','']);
locations.push(['ReachOut!', 51.54932598093718, -0.06312865875244489, 'org-other', '/organisations/other/reachout.php','']);
locations.push(['MyPlace', 51.5476447, -0.0601675, 'org-initiative', '/organisations/initiative/myplace.php','']);
locations.push(['Tolerance in Diversity', 51.50925645873243, -0.028348650000014075, 'org-volunteering', '/organisations/volunteering/tolerance-in-diversity.php','']);
locations.push(['Hackney Shed', 51.558434658924206, -0.060041799999994705, 'org-artscrafts', '/organisations/artscrafts/hackney-shed.php','']);
locations.push(['deep:black', 51.5476447, -0.0601675, 'org-initiative', '/organisations/initiative/deepblack.php','']);
locations.push(['Street League', 51.47757404733332, -0.11161084999999016, 'org-sports', '/organisations/sports/street-league.php','']);
locations.push(['The Drawing Room', 51.53547380883115, -0.07179495000001257, 'org-artscrafts', '/organisations/artscrafts/the-drawing-room.php','']);
locations.push(['movingeast', 51.55333660890087, -0.07920034999998826, 'org-artscrafts', '/organisations/artscrafts/movingeast.php','']);
locations.push(['YWG (Hackney Young Women\'s Group)', 51.5453029088695, -0.05689750000000604, 'org-council', '/organisations/council/ywg-hackney-young-womens-group.php','']);
locations.push(['Pump Aid', 51.5028010587073, -0.10037155000000242, 'org-initiative', '/organisations/initiative/pump-aid.php','']);
locations.push(['Contrast Magazine', 51.52946870880774, -0.0888833, 'org-other', '/organisations/other/contrast-magazine.php','']);
locations.push(['Concorde Centre', 51.55127359230047, -0.032119153442382586, 'org-youth-clubs', '/organisations/youth-clubs/concorde-centre.php','']);
locations.push(['Off Centre', 51.54428200930669, -0.05675187976073914, 'org-initiative', '/organisations/initiative/off-centre.php','']);
locations.push(['H-Town-Saints', 51.54922402910196, -0.053359999999997854, 'org-youth-clubs', '/organisations/youth-clubs/h-town-saints.php','']);
locations.push(['Shoreditch Spa', 51.53129039950152, -0.08314866586913938, 'org-initiative', '/organisations/initiative/shoreditch-spa.php','']);
locations.push(['Stamford Hill Youth Club', 51.567509961700296, -0.07345980688476583, 'org-youth-clubs', '/organisations/youth-clubs/stamford-hill-youth-club.php','']);
locations.push(['Teen Caribbean', 51.5476447, -0.0601675, 'org-other', '/organisations/other/teen-caribbean.php','']);
locations.push(['Hospital and Prison Action Network', 51.5469628045484, -0.07196050714720403, 'org-volunteering', '/organisations/volunteering/hospital-and-prison-action-network.php','']);
locations.push(['Lea Valley Football Club', 51.5776635589993, -0.03703890000000376, 'org-sports', '/organisations/sports/lea-valley-football-club.php','']);
locations.push(['CSV', 51.5476447, -0.0601675, 'org-volunteering', '/organisations/volunteering/csv.php','']);
locations.push(['Anna Fiorentini Theatre and Film School', 51.53558702916361, -0.1063230000000015, 'org-artscrafts', '/organisations/artscrafts/anna-fiorentini-theatre-and-film-school.php','']);
locations.push(['VIP’s in Transition', 51.492559658667396, -0.1428227500000001, 'org-initiative', '/organisations/initiative/vips-in-transition.php','']);
locations.push(['Other', 51.545786515898925, -0.05541840000000686, 'org-other', '/organisations/other/other.php','']);
locations.push(['Genesis Youth Projects', 51.57228640897483, -0.09025230000000217, 'org-other', '/organisations/other/genesis-youth-projects.php','']);
locations.push(['London Gypsy and Traveller Unit', 51.537949158844285, -0.05747195000001426, 'org-youth-clubs', '/organisations/youth-clubs/london-gypsy-and-traveller-unit.php','']);
locations.push(['Lubavitch Foundation', 51.57252235897923, -0.07427419999999074, 'org-youth-clubs', '/organisations/youth-clubs/lubavitch-foundation.php','']);
locations.push(['The Twist Partnership', 51.522447808780356, -0.0829906000000058, 'org-volunteering', '/organisations/volunteering/the-twist-partnership.php','']);
locations.push(['Children\'s Scrap Project', 51.54871710888282, -0.04163534999999996, 'org-initiative', '/organisations/initiative/childrens-scrap-project.php','']);
locations.push(['Clapton Park Skate Park', 51.553150231675175, -0.03600521318360084, 'org-sports', '/organisations/sports/clapton-park-skate-park.php','']);
locations.push(['Stoke Newington Youth Forum 27/10', 51.5476447, -0.0601675, 'org-leisure-centres', '/organisations/leisure-centres/stoke-newington-youth-forum-2710.php','']);
locations.push(['Teenage Kicks', 51.533506200000005, -0.0657833, 'event-sport','/whatson/sport/19.php','@ SkyWay Sports Programme
Friday, 13th August 2010']);
locations.push(['Music Technology Workshops', 51.54365012875588, -0.04566192626953125, 'event-music','/whatson/music/21.php','@ Hackney Quest
from 6th Jan 10 to 22nd Dec 10']);
locations.push(['Nemesis Street Dance', 51.54238205, -0.0717223, 'event-arts','/whatson/arts/23.php','@ Nemesis Street Dance
from 8th Jan 10 to 17th Dec 10']);
locations.push(['Purple Bus comes to London Fields Warburton Estate', 51.54058149678133, -0.06066155400391127, 'event-youth','/whatson/youth/24.php','@ Purple Bus
from 25th Jan 10 to 20th Dec 10']);
locations.push(['Nemesis Street Dance Project', 51.53966775, -0.05075865, 'event-arts','/whatson/arts/25.php','@ Nemesis Street Dance
from 8th Jan 10 to 17th Dec 10']);
locations.push(['Purple Bus comes to Stamford Hill Estate', 51.56793866415382, -0.0710073410156209, 'event-youth','/whatson/youth/26.php','@ Purple Bus
from 5th Jan 10 to 21st Dec 10']);
locations.push(['Purple Bus comes to Fellows Court', 51.531175908814404, -0.07455795000000709, 'event-youth','/whatson/youth/27.php','@ Purple Bus
from 26th Jul 10 to 18th Dec 10']);
locations.push(['Swim 4 Life - Free Swimming for under 18s!', 51.545778049999996, -0.0554184, 'event-sport','/whatson/sport/40.php','@ Greenwich Leisure Limited (GLL)
from 1st Jan 10 to 24th Dec 10']);
locations.push(['Swim 4 Life - Free Swimming for under 18s!', 51.545778049999996, -0.0554184, 'event-sport','/whatson/sport/41.php','@ Greenwich Leisure Limited (GLL)
from 2nd Jan 10 to 18th Dec 10']);
locations.push(['Leyton Orient Multisports', 51.54160695885855, -0.07168704999999775, 'event-sport','/whatson/sport/49.php','@ Queensbridge Sport & Community Centre
from 27th Jul 10 to 24th Aug 10']);
locations.push(['Immediate Theatre Project', 51.54557253769136, -0.0554772878662102, 'event-arts','/whatson/arts/63.php','@ Immediate Theatre
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Discover your hidden talent', 51.529467700000005, -0.0888833, 'event-arts','/whatson/arts/72.php','@ Blue Hut (Skyway)
from 12th Jul 10 to 2nd Aug 10']);
locations.push(['Free Football and Multisports Programme', 51.56202503891736, -0.09020805358886719, 'event-sport','/whatson/sport/78.php','@ The Access to Sports Project
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Free Cricket Coaching', 51.55398775763908, -0.06241350537109058, 'event-sport','/whatson/sport/79.php','@ The Access to Sports Project
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Free Cricket Coaching', 51.55399393394018, -0.0624847412109375, 'event-sport','/whatson/sport/80.php','@ The Access to Sports Project
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Free Cricket Coaching', 51.56205368186031, -0.05003265595702633, 'event-sport','/whatson/sport/81.php','@ The Access to Sports Project
from 23rd Aug 10 to 26th Aug 10']);
locations.push(['Free Girls-only Football', 51.56205368186031, -0.05003265595702633, 'event-sport','/whatson/sport/82.php','@ The Access to Sports Project
from 16th Aug 10 to 19th Aug 10']);
locations.push(['Free Girls-only Football', 51.56202503891736, -0.0501251220703125, 'event-sport','/whatson/sport/83.php','@ The Access to Sports Project
from 2nd Aug 10 to 5th Aug 10']);
locations.push(['Free Cricket Competition', 51.559730582204935, -0.05192756652832031, 'event-sport','/whatson/sport/85.php','@ The Access to Sports Project
Friday, 27th August 2010']);
locations.push(['Free Saturday Morning Football', 51.57033074859706, -0.10191964357911143, 'event-sport','/whatson/sport/86.php','@ The Access to Sports Project
from 31st Jul 10 to 28th Aug 10']);
locations.push(['Football Copalita', 51.570134748744394, -0.10179519653320312, 'event-sport','/whatson/sport/87.php','@ The Access to Sports Project
Thursday, 5th August 2010']);
locations.push(['Free football training', 51.5489827277392, -0.033325841308591286, 'event-sport','/whatson/sport/88.php','@ The Access to Sports Project
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Free Football Training', 51.549310173505994, -0.032740859497080166, 'event-sport','/whatson/sport/90.php','@ The Access to Sports Project
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Free Football Training', 51.549096680883665, -0.032397536743173916, 'event-sport','/whatson/sport/91.php','@ The Access to Sports Project
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Free Football Training', 51.54932403490518, -0.0322723388671875, 'event-sport','/whatson/sport/92.php','@ The Access to Sports Project
from 23rd Aug 10 to 27th Aug 10']);
locations.push(['FA Level 2 Coaching Course', 51.545786515898925, -0.05541840000000686, 'event-sport','/whatson/sport/94.php','@ The Access to Sports Project
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Active Fitness', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/130.php','@ Clissold Leisure Centre
from 27th Jul 10 to 24th Aug 10']);
locations.push(['Active Fitness', 51.556629958917185, -0.08649884999999191, 'event-sport','/whatson/sport/132.php','@ Clissold Leisure Centre
from 29th Jul 10 to 26th Aug 10']);
locations.push(['Active Fitness', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/133.php','@ Clissold Leisure Centre
from 30th Jul 10 to 27th Aug 10']);
locations.push(['Trampolining', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/136.php','@ Clissold Leisure Centre
from 28th Jul 10 to 25th Aug 10']);
locations.push(['Trampolining', 51.558638618189406, -0.08523006103515973, 'event-sport','/whatson/sport/137.php','@ Clissold Leisure Centre
from 30th Jul 10 to 20th Aug 10']);
locations.push(['Trampolining', 51.535836158836034, -0.08331760000000354, 'event-sport','/whatson/sport/138.php','@ Greenwich Leisure Limited (GLL)
Monday, 2nd August 2010']);
locations.push(['Leyton Orient Multisports', 51.543481260749935, -0.07192630432129254, 'event-sport','/whatson/sport/139.php','@ Queensbridge Sport & Community Centre
from 28th Jul 10 to 25th Aug 10']);
locations.push(['Shokk Youth Fitness Centre (age 8-15)', 51.532483679180174, -0.03682155273437848, 'event-sport','/whatson/sport/140.php','@ Greenwich Leisure Limited (GLL)
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Shokk Youth Fitness Centre (age 8-15)', 51.5507086088906, -0.05285299999999493, 'event-sport','/whatson/sport/142.php','@ Greenwich Leisure Limited (GLL)
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Purple Bus comes to Milton Garden Estate', 51.55380958547576, -0.08226998042603295, 'event-youth','/whatson/youth/146.php','@ Purple Bus
from 9th Jan 10 to 20th Dec 10']);
locations.push(['Purple Bus Outreach Trips', 51.545487923976395, -0.05569857707518722, 'event-youth','/whatson/youth/147.php','@ Purple Bus
from 9th May 10 to 21st Dec 10']);
locations.push(['Purple Bus comes to Kingshold', 51.53878498882959, -0.05023259683837766, 'event-youth','/whatson/youth/148.php','@ Purple Bus
from 7th May 10 to 22nd Dec 10']);
locations.push(['Purple Bus comes to Kings Crescent Estate', 51.56173351385388, -0.09578723571777692, 'event-youth','/whatson/youth/149.php','@ Purple Bus
from 30th Dec 09 to 22nd Dec 10']);
locations.push(['Purple Bus comes to Hackney Ark', 51.550823108891045, -0.07021045000000559, 'event-youth','/whatson/youth/150.php','@ Purple Bus
from 7th Jan 10 to 23rd Dec 10']);
locations.push(['Purple Bus comes to Holly Street', 51.54224130885756, -0.0717012500000136, 'event-youth','/whatson/youth/152.php','@ Purple Bus
from 8th May 10 to 23rd Dec 10']);
locations.push(['Purple Bus comes to Gilpin Square', 51.55570360877176, -0.03888148925781598, 'event-youth','/whatson/youth/154.php','@ Purple Bus
from 6th May 10 to 18th Dec 10']);
locations.push(['Purple Bus comes to Leabank Square', 51.54549120361894, -0.02471847764893287, 'event-youth','/whatson/youth/156.php','@ Purple Bus
from 9th May 10 to 19th Dec 10']);
locations.push(['Immediate Theatre Project', 51.5466312, -0.05520465, 'event-arts','/whatson/arts/177.php','@ Immediate Theatre
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Canoeing, Kayaking, Boating', 51.53531159999999, -0.0735498, 'event-sport','/whatson/sport/180.php','@ Laburnum Boat Club
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Canoeing, Kayaking, Boating', 51.53531159999999, -0.0735498, 'event-sport','/whatson/sport/181.php','@ Laburnum Boat Club
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Canoeing, Kayaking, Boating', 51.53531159999999, -0.0735498, 'event-sport','/whatson/sport/182.php','@ Laburnum Boat Club
from 16th Aug 10 to 20th Aug 10']);
locations.push([' Hipnotic Summer Intensive', 51.51778179130578, -0.0735546062988246, 'event-arts','/whatson/arts/191.php','@ Hoxton Hall
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Hipnotic - Summer Intensive', 51.53049195881519, -0.08025915000000383, 'event-arts','/whatson/arts/192.php','@ Hoxton Hall
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Hipnotic - Summer Intensive', 51.53049195881519, -0.08025915000000383, 'event-arts','/whatson/arts/193.php','@ Hoxton Hall
from 23rd Aug 10 to 27th Aug 10']);
locations.push(['Jam Night', 51.5477208, -0.054885100000000006, 'event-music','/whatson/music/195.php','@ Rising Tide
from 20th Aug 09 to 19th Aug 10']);
locations.push(['Free Football and Multisports', 51.56166391971953, -0.08851386943360184, 'event-sport','/whatson/sport/199.php','@ The Access to Sports Project
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Table Tennis ', 51.554776450000006, -0.040494, 'event-sport','/whatson/sport/201.php','@ The Access to Sports Project
from 5th Jan 10 to 21st Dec 10']);
locations.push(['Circuit Training ', 51.568914797412795, -0.07200148646240523, 'event-sport','/whatson/sport/202.php','@ The Access to Sports Project
from 6th Jan 10 to 22nd Dec 10']);
locations.push(['Free Football Session', 51.558867303635516, -0.04617137065428878, 'event-sport','/whatson/sport/206.php','@ The Access to Sports Project
from 9th Jan 10 to 25th Dec 10']);
locations.push(['Free Football Session', 51.55808640009127, -0.08525305828858132, 'event-sport','/whatson/sport/207.php','@ The Access to Sports Project
from 7th Jan 10 to 23rd Dec 10']);
locations.push(['Free Football and Multisports', 51.561024141921315, -0.08885719218748811, 'event-sport','/whatson/sport/208.php','@ The Access to Sports Project
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Free Football Coaching ', 51.530001768732845, -0.08901204603271484, 'event-sport','/whatson/sport/219.php','@ Blue Hut (Skyway)
from 4th Jan 10 to 24th Sep 10']);
locations.push(['Hitz Rugby', 51.53342785882662, -0.06879145000000308, 'event-sport','/whatson/sport/342.php','@ HITZ Rugby
from 9th Jul 10 to 17th Dec 10']);
locations.push(['Free Capoeira Workshops', 51.551992558899066, -0.07344455000001027, 'event-arts','/whatson/arts/343.php','@ Arcola Theatre
from 21st Jan 10 to 16th Dec 10']);
locations.push(['Free Street League Football Training', 51.548926780759714, -0.03183654999999508, 'event-sport','/whatson/sport/349.php','@ Street League
from 27th Jan 10 to 15th Dec 10']);
locations.push(['Brix Lane Remixed', 51.524638408788924, -0.0722670999999897, 'event-arts','/whatson/arts/369.php','@ Rich Mix
Saturday, 31st July 2010']);
locations.push(['Arsenal Kickz Roseberry Gardens', 51.541079389786944, -0.0800527839599674, 'event-sport','/whatson/sport/399.php','@ Forest Road Young People\'s Centre
from 22nd Feb 10 to 18th Dec 10']);
locations.push(['Table Tennis', 51.54160695885855, -0.07168704999999775, 'event-sport','/whatson/sport/400.php','@ Queensbridge Sport & Community Centre
from 21st Jul 10 to 25th Aug 10']);
locations.push(['Open Access @ Haggerston', 51.53672915883951, -0.07191855000000746, 'event-general','/whatson/general/406.php','@ Catch 22 @ Hackney / South Hackney Youth Inclusion Project
from 24th Feb 10 to 24th Feb 11']);
locations.push(['Environmental Group', 51.53997240884872, -0.07662450000001097, 'event-general','/whatson/general/407.php','@ Catch 22 @ Hackney / South Hackney Youth Inclusion Project
from 23rd Feb 10 to 22nd Feb 11']);
locations.push(['Women-only youth night', 51.53997240884872, -0.07662450000001098, 'event-general','/whatson/general/408.php','@ Catch 22 @ Hackney / South Hackney Youth Inclusion Project
from 22nd Feb 10 to 24th Feb 11']);
locations.push(['Football Coaching', 51.52946780880776, -0.0888833, 'event-sport','/whatson/sport/445.php','@ Blue Hut (Skyway)
from 4th Jan 10 to 27th Dec 10']);
locations.push(['Photography Workshop (ages 12-15)', 51.52946780880776, -0.0888833, 'event-arts','/whatson/arts/447.php','@ Blue Hut (Skyway)
from 5th Jan 10 to 10th Aug 10']);
locations.push(['Football Session', 51.52946780880776, -0.0888833, 'event-sport','/whatson/sport/449.php','@ Blue Hut (Skyway)
from 12th Jan 10 to 9th Nov 10']);
locations.push(['Photography Workshop (ages 16-25)', 51.52946780880776, -0.0888833, 'event-arts','/whatson/arts/450.php','@ Blue Hut (Skyway)
from 5th Jan 10 to 10th Aug 10']);
locations.push(['Dance Session', 51.52946780880776, -0.0888833, 'event-general','/whatson/general/453.php','@ Blue Hut (Skyway)
from 12th Jan 10 to 12th Oct 10']);
locations.push(['Shoreditch Youth Network', 51.52946780880776, -0.0888833, 'event-general','/whatson/general/462.php','@ Blue Hut (Skyway)
from 7th Jan 10 to 21st Oct 10']);
locations.push(['Bike Maintenence Workshop', 51.52946780880776, -0.0888833, 'event-general','/whatson/general/463.php','@ Blue Hut (Skyway)
from 14th Jan 10 to 26th Aug 10']);
locations.push(['Girls Football Session', 51.52946780880776, -0.0888833, 'event-sport','/whatson/sport/465.php','@ Blue Hut (Skyway)
from 8th Jan 10 to 15th Oct 10']);
locations.push([' Table Tennis ', 51.535448280441045, -0.08366364999999876, 'event-sport','/whatson/sport/481.php','@ Britannia Leisure Centre
from 15th Jan 10 to 13th Aug 10']);
locations.push(['Soccer for Hawkley Court Residents ', 51.52946780880776, -0.0888833, 'event-sport','/whatson/sport/483.php','@ Blue Hut (Skyway)
from 7th Jan 10 to 12th Aug 10']);
locations.push(['Hackney Today Young Journalists Group', 51.52416535879052, -0.0733203500000057, 'event-general','/whatson/general/484.php','@ Headliners
from 8th Jan 10 to 31st Dec 10']);
locations.push(['Filming, Media Mentor Session', 51.52416535879052, -0.0733203500000057, 'event-general','/whatson/general/486.php','@ Headliners
from 9th Jan 10 to 25th Dec 10']);
locations.push(['Skyway Multisports', 51.54657810844572, -0.056482215100097655, 'event-sport','/whatson/sport/489.php','@ Blue Hut (Skyway)
from 3rd Aug 10 to 24th Aug 10']);
locations.push(['Table Tennis', 51.54160695885855, -0.07168704999999775, 'event-sport','/whatson/sport/490.php','@ Queensbridge Sport & Community Centre
from 19th Jul 10 to 23rd Aug 10']);
locations.push(['Free Football Training', 51.56162679681985, -0.05175609252930036, 'event-sport','/whatson/sport/533.php','@ The Access to Sports Project
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Free Football Training', 51.562160379485505, -0.04986781738281598, 'event-sport','/whatson/sport/534.php','@ The Access to Sports Project
from 23rd Aug 10 to 26th Aug 10']);
locations.push(['Free Football Training', 51.56118250893146, -0.05330955000000026, 'event-sport','/whatson/sport/551.php','@ The Access to Sports Project
from 16th Aug 10 to 19th Aug 10']);
locations.push(['Film Drop-In', 51.52562160879273, -0.0811487999999927, 'event-arts','/whatson/arts/573.php','@ Mouth That Roars
from 10th Jul 10 to 25th Sep 10']);
locations.push(['Body Talk Exhibition', 51.54447810886629, -0.0560969999999994, 'event-general','/whatson/general/575.php','@ Hackney Museum
from 1st Jun 10 to 28th Aug 10']);
locations.push(['Nightingale Bike Maintenance Project', 51.55754964314986, -0.062135878710929404, 'event-general','/whatson/general/577.php','@ Hackney Youth Service
from 14th Apr 10 to 29th Sep 10']);
locations.push(['Get Sustainable Workshops', 51.533444738866294, -0.06772060058594098, 'event-youth','/whatson/youth/579.php','@ Hackney City Farm
from 11th Apr 10 to 12th Sep 10']);
locations.push(['Free Football Training', 51.56194694717054, -0.05021114013672223, 'event-sport','/whatson/sport/581.php','@ The Access to Sports Project
from 16th Aug 10 to 19th Aug 10']);
locations.push(['Free Football Training', 51.562373644147144, -0.05006178652342541, 'event-sport','/whatson/sport/582.php','@ The Access to Sports Project
from 9th Aug 10 to 12th Aug 10']);
locations.push(['Free Music Workshops', 51.54669728416614, -0.07471580169678083, 'event-music','/whatson/music/602.php','@ Urban Griots
from 2nd May 10 to 19th Dec 10']);
locations.push(['North East Youth Forum', 51.55861689789737, -0.05681437602538253, 'event-youth','/whatson/youth/603.php','@ Hackney Youth Service
from 27th Apr 10 to 21st Dec 10']);
locations.push(['Homerton Youth Forum', 51.548518008882056, -0.042750149999992715, 'event-youth','/whatson/youth/604.php','@ Hackney Youth Service
from 29th Apr 10 to 16th Dec 10']);
locations.push(['Shoreditch Youth Forum', 51.535311708830534, -0.07354980000000566, 'event-youth','/whatson/youth/605.php','@ Hackney Youth Service
from 27th Apr 10 to 21st Dec 10']);
locations.push(['Stoke Newington Youth Forum ', 51.559834708926225, -0.08541715000000005, 'event-youth','/whatson/youth/606.php','@ Hackney Youth Service
from 27th Apr 10 to 21st Dec 10']);
locations.push(['Fellows Court Youth Club', 51.53260800881999, -0.07248164999999584, 'event-youth','/whatson/youth/607.php','@ Fellows Court Community Centre
from 30th Apr 10 to 29th Dec 10']);
locations.push(['Non-Contact Boxing', 51.54160695885852, -0.07168704999999775, 'event-sport','/whatson/sport/613.php','@ Queensbridge Sport & Community Centre
from 8th May 10 to 18th Dec 10']);
locations.push(['Urban Culture Project: Performance', 51.542084258860406, -0.0716922000000042, 'event-entertainment','/whatson/entertainment/625.php','@ Queensbridge Sport & Community Centre
from 6th Aug 10 to 8th Aug 10']);
locations.push(['Shokk Gym', 51.5507086088906, -0.05285299999999493, 'event-sport','/whatson/sport/642.php','@ Kings Hall Leisure Centre
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Olympic Poetry, Raps and Rhymes Workshop', 51.5476447, -0.0601675, 'event-arts','/whatson/arts/644.php','@ Clapton Library
Friday, 6th August 2010']);
locations.push(['Henna Hand Painting', 51.5476447, -0.0601675, 'event-arts','/whatson/arts/645.php','@ Clapton Library
Monday, 16th August 2010']);
locations.push(['Manga Workshop with Steve Marchant', 51.54833350888134, -0.06535459999998938, 'event-arts','/whatson/arts/646.php','@ CLR James Library
Tuesday, 17th August 2010']);
locations.push(['Manga and Comics Workshop', 51.54436150886581, -0.057435400000007686, 'event-arts','/whatson/arts/647.php','@ Hackney Central Library
Monday, 9th August 2010']);
locations.push(['Games afternoon', 51.54437335886933, -0.05730330000000894, 'event-entertainment','/whatson/entertainment/648.php','@ Hackney Central Library
Saturday, 28th August 2010']);
locations.push(['Graphic Novel Reading Launch', 51.548818934499515, -0.04231471679687848, 'event-arts','/whatson/arts/650.php','@ Homerton Children\'s Library
Monday, 16th August 2010']);
locations.push(['Olympic Poetry Workshops', 51.549139175012364, -0.04162807128906598, 'event-arts','/whatson/arts/651.php','@ Homerton Children\'s Library
Thursday, 5th August 2010']);
locations.push(['Dance Workshop for 8+', 51.5489256815876, -0.04179973266601911, 'event-arts','/whatson/arts/652.php','@ Homerton Children\'s Library
Tuesday, 24th August 2010']);
locations.push(['Henna Hand painting', 51.54884602754278, -0.04606162963865401, 'event-arts','/whatson/arts/653.php','@ Homerton Children\'s Library
Tuesday, 17th August 2010']);
locations.push(['Games workshop', 51.5615570195383, -0.08278124895019001, 'event-general','/whatson/general/654.php','@ Stoke Newington Library
Monday, 23rd August 2010']);
locations.push(['Graphic Novel Workshop', 51.56141336200054, -0.0825693096923863, 'event-arts','/whatson/arts/655.php','@ Stoke Newington Library
Wednesday, 4th August 2010']);
locations.push(['Badminton', 51.543897108864016, -0.07172720000000243, 'event-sport','/whatson/sport/656.php','@ Queensbridge Sport & Community Centre
from 19th Jul 10 to 25th Aug 10']);
locations.push(['Badminton', 51.543897108864016, -0.07172720000000243, 'event-sport','/whatson/sport/657.php','@ Queensbridge Sport & Community Centre
from 21st Jul 10 to 25th Aug 10']);
locations.push(['Badminton', 51.543897108864016, -0.07172720000000243, 'event-sport','/whatson/sport/658.php','@ Queensbridge Sport & Community Centre
from 23rd Jul 10 to 27th Aug 10']);
locations.push(['Hitz Rugby', 51.553768829081385, -0.062443000000009796, 'event-sport','/whatson/sport/659.php','@ HITZ Rugby
from 12th Jul 10 to 20th Dec 10']);
locations.push(['Digital Photography ', 51.55115662781072, -0.05180235845948733, 'event-youth','/whatson/youth/661.php','@ Rolling Sound
from 29th Jul 10 to 27th Aug 10']);
locations.push(['Web Design', 51.551530222325475, -0.05218859655763186, 'event-youth','/whatson/youth/662.php','@ Rolling Sound
from 30th Jul 10 to 26th Aug 10']);
locations.push(['Tennis Camp', 51.53333795545869, -0.06772060058594098, 'event-sport','/whatson/sport/664.php','@ Hackney City Tennis Clubs
from 2nd Aug 10 to 5th Aug 10']);
locations.push(['Capoeira', 51.53501545883283, -0.08891459999999185, 'event-sport','/whatson/sport/667.php','@ Hackney Youth Service
from 21st Jul 10 to 4th Aug 10']);
locations.push(['Open Mic: Spoken Word', 51.535046459920906, -0.08866328857422223, 'event-arts','/whatson/arts/668.php','@ Hackney Youth Offer
Sunday, 1st August 2010']);
locations.push(['Springfield Festival', 51.56994997342451, -0.05930919311523786, 'event-general','/whatson/general/669.php','@ Hackney Youth Offer
Sunday, 22nd August 2010']);
locations.push(['Ping Pong Craze', 51.52738438421911, -0.08132476470947614, 'event-sport','/whatson/sport/672.php','@ Hackney Youth Offer
from 24th Jul 10 to 14th Aug 10']);
locations.push(['Sunday Sessions', 51.540705422932696, -0.06051082275390973, 'event-music','/whatson/music/673.php','@ Hackney Youth Offer
Sunday, 1st August 2010']);
locations.push(['Running for beginners', 51.54422857277054, -0.05553264282226911, 'event-sport','/whatson/sport/674.php','@ Hackney Youth Offer
from 8th Aug 10 to 19th Sep 10']);
locations.push(['Tennis camp', 51.5331213584494, -0.0677698916015701, 'event-sport','/whatson/sport/675.php','@ Hackney City Tennis Clubs
from 9th Aug 10 to 12th Aug 10']);
locations.push(['Tennis camp', 51.53342785882662, -0.06879145000000308, 'event-sport','/whatson/sport/676.php','@ Hackney City Tennis Clubs
from 16th Aug 10 to 19th Aug 10']);
locations.push(['Tennis Camp', 51.56162679681987, -0.08883494995117536, 'event-sport','/whatson/sport/678.php','@ Hackney City Tennis Clubs
from 2nd Aug 10 to 5th Aug 10']);
locations.push(['Tennis Camp', 51.5476447, -0.0601675, 'event-sport','/whatson/sport/679.php','@ Hackney City Tennis Clubs
from 9th Aug 10 to 12th Aug 10']);
locations.push(['Basketball', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/680.php','@ Clissold Leisure Centre
from 27th Jul 10 to 17th Aug 10']);
locations.push(['Active Fitness', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/682.php','@ Clissold Leisure Centre
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Active Fitness', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/684.php','@ Clissold Leisure Centre
from 16th Aug 10 to 20th Aug 10']);
locations.push(['Active Fitness', 51.559834708926225, -0.08541715000000005, 'event-sport','/whatson/sport/685.php','@ Clissold Leisure Centre
from 23rd Aug 10 to 27th Aug 10']);
locations.push(['Table Tennis', 51.54160695885855, -0.07168704999999775, 'event-sport','/whatson/sport/686.php','@ Queensbridge Sport & Community Centre
from 30th Jul 10 to 20th Aug 10']);
locations.push(['Worldbytes', 51.55637235891616, -0.0504914500000031, 'event-arts','/whatson/arts/688.php','@ WORLDbytes
from 30th Jul 10 to 1st Aug 10']);
locations.push(['Rising Tide Rehearsal Time', 51.544773358870906, -0.05536285000000696, 'event-arts','/whatson/arts/689.php','@ Rising Tide
from 9th Aug 10 to 27th Aug 10']);
locations.push(['MTR: Film Technical Skills', 51.52562160879273, -0.0811487999999927, 'event-arts','/whatson/arts/690.php','@ Mouth That Roars
from 7th Jul 10 to 24th Nov 10']);
locations.push(['London Youth Rowing', 51.57166460897242, -0.0617875000000101, 'event-sport','/whatson/sport/693.php','@ London Youth Rowing
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['London Youth Rowing', 51.57166460897242, -0.0617875000000101, 'event-sport','/whatson/sport/694.php','@ London Youth Rowing
from 16th Aug 10 to 20th Aug 10']);
locations.push(['London Youth Rowing', 51.57166460897242, -0.0617875000000101, 'event-sport','/whatson/sport/695.php','@ London Youth Rowing
from 23rd Aug 10 to 27th Aug 10']);
locations.push(['Cycling Club Hackney', 51.55571690820994, -0.06187302222746993, 'event-sport','/whatson/sport/696.php','@ Cycling Club Hackney
from 10th Jul 10 to 30th Oct 10']);
locations.push(['Eastside Carnival Workshops', 51.5277161088009, -0.07659084999998456, 'event-arts','/whatson/arts/697.php','@ Eastside Summer Dance Programme
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Urban Youth Films', 51.524638408788924, -0.0722670999999897, 'event-entertainment','/whatson/entertainment/699.php','@ Rich Mix
Thursday, 19th August 2010']);
locations.push(['Our Everyday Lives TV', 51.52562160879273, -0.0811487999999927, 'event-arts','/whatson/arts/700.php','@ Mouth That Roars
from 29th Jul 10 to 26th Aug 10']);
locations.push(['Lea Valley Football Club', 51.5776635589993, -0.03703890000000376, 'event-sport','/whatson/sport/701.php','@ Lea Valley Football Club
from 10th Jul 10 to 23rd Oct 10']);
locations.push(['Fellows Court Youth Club', 51.53260800881999, -0.07248164999999585, 'event-youth','/whatson/youth/702.php','@ Fellows Court Community Centre
from 10th Jul 10 to 30th Oct 10']);
locations.push(['Lordship South Youth Club', 51.563174658942714, -0.08385380000000442, 'event-youth','/whatson/youth/703.php','@ Lordship South Youth Club
from 8th Jul 10 to 28th Oct 10']);
locations.push(['Lordship South Youth Club', 51.563420108940214, -0.0837034999999986, 'event-youth','/whatson/youth/704.php','@ Lordship South Youth Club
from 11th Jul 10 to 24th Oct 10']);
locations.push(['Regents Youth Club', 51.537907758844106, -0.06451310000000765, 'event-youth','/whatson/youth/705.php','@ Regents Youth Centre
from 14th Jul 10 to 20th Oct 10']);
locations.push(['Regents Youth Club', 51.53763225884303, -0.06463705000001152, 'event-youth','/whatson/youth/706.php','@ Regents Youth Centre
from 9th Jul 10 to 29th Oct 10']);
locations.push(['Smalley Road Youth Club', 51.55891360892264, -0.07303150000000702, 'event-youth','/whatson/youth/707.php','@ Hackney Youth Offer
from 10th Jul 10 to 30th Oct 10']);
locations.push(['Stamford Hill Youth Club', 51.56736248236832, -0.07415790222168317, 'event-youth','/whatson/youth/708.php','@ Stamford Hill Youth Club
from 12th Jul 10 to 25th Oct 10']);
locations.push(['Stamford Hill Youth Club', 51.568029375592864, -0.07321376464844098, 'event-youth','/whatson/youth/709.php','@ Stamford Hill Youth Club
from 14th Jul 10 to 27th Oct 10']);
locations.push(['Stamford Hill Youth Club', 51.56885215896487, -0.07289969999999313, 'event-youth','/whatson/youth/710.php','@ Stamford Hill Youth Club
from 6th Jul 10 to 25th Oct 10']);
locations.push(['Stamford Hill Youth Club', 51.5688437340406, -0.07294482275390646, 'event-youth','/whatson/youth/711.php','@ Stamford Hill Youth Club
from 8th Jul 10 to 28th Oct 10']);
locations.push(['Holly Street Youth Club', 51.54160695885855, -0.07168704999999775, 'event-youth','/whatson/youth/712.php','@ Hackney Youth Offer
from 14th Jul 10 to 20th Oct 10']);
locations.push(['Holly Street Youth Club', 51.54160695885855, -0.07168704999999775, 'event-youth','/whatson/youth/713.php','@ Hackney Youth Offer
from 9th Jul 10 to 29th Oct 10']);
locations.push(['The Lion Club', 51.53104145881732, -0.08289169999999624, 'event-youth','/whatson/youth/714.php','@ Lion Club for Young People
from 12th Jul 10 to 25th Oct 10']);
locations.push(['The Lion Club', 51.53104145881732, -0.08289169999999624, 'event-youth','/whatson/youth/715.php','@ Lion Club for Young People
from 28th Jul 10 to 9th Oct 10']);
locations.push(['The Lion Club', 51.53104145881732, -0.08289169999999624, 'event-youth','/whatson/youth/716.php','@ Lion Club for Young People
from 15th Jul 10 to 28th Oct 10']);
locations.push(['NLMCC Holiday Programme', 51.56518395895058, -0.06904485000000626, 'event-youth','/whatson/youth/717.php','@ North London Muslim Community Centre
from 9th Aug 10 to 13th Aug 10']);
locations.push(['NLMCC Holiday Programme', 51.56518395895058, -0.06904485000000626, 'event-youth','/whatson/youth/718.php','@ North London Muslim Community Centre
from 16th Aug 10 to 20th Aug 10']);
locations.push(['NLMCC Holiday Programme', 51.56518395895058, -0.06904485000000626, 'event-youth','/whatson/youth/720.php','@ North London Muslim Community Centre
from 2nd Aug 10 to 6th Aug 10']);
locations.push(['Frampton Youth Club', 51.54251630885862, -0.05098975000000561, 'event-youth','/whatson/youth/724.php','@ Frampton Park Youth Club
from 6th Jul 10 to 26th Oct 10']);
locations.push(['Frampton Youth Club', 51.54251630885862, -0.05098975000000561, 'event-youth','/whatson/youth/725.php','@ Frampton Park Youth Club
from 15th Jul 10 to 28th Oct 10']);
locations.push(['Frampton Youth Club', 51.54262060885903, -0.05091270000000536, 'event-youth','/whatson/youth/726.php','@ Frampton Park Youth Club
from 9th Jul 10 to 29th Oct 10']);
locations.push(['Exposure 2010', 51.55460065890925, -0.04953585000001315, 'event-arts','/whatson/arts/727.php','@ Immediate Theatre
from 9th Aug 10 to 20th Aug 10']);
locations.push(['Kickz Football at London Fields', 51.54105327913763, -0.05882479999999912, 'event-sport','/whatson/sport/728.php','@ Kickz Programme
from 12th Jul 10 to 27th Dec 10']);
locations.push(['Arsenal Kickz at Homerton', 51.549912458890944, -0.05101419999999024, 'event-sport','/whatson/sport/729.php','@ Kickz Programme
from 11th Jul 10 to 19th Dec 10']);
locations.push(['Leyton Orient Kickz', 51.53260800881999, -0.07248164999999584, 'event-sport','/whatson/sport/731.php','@ Kickz Programme
from 13th Jul 10 to 28th Dec 10']);
locations.push(['Leyton Orient Kickz', 51.53260800881999, -0.07248164999999584, 'event-sport','/whatson/sport/732.php','@ Kickz Programme
from 15th Jul 10 to 23rd Dec 10']);
locations.push(['Headliners journalism', 51.5246384087889, -0.0722670999999897, 'event-general','/whatson/general/734.php','@ Rich Mix
from 28th Jul 10 to 8th Sep 10']);
locations.push(['Youth Relief Talent Show', 51.544773358870906, -0.05536285000000696, 'event-arts','/whatson/arts/738.php','@ Other
Saturday, 31st July 2010']);
locations.push(['Genesis Summer Activities', 51.57233457121394, -0.08997809941406531, 'event-youth','/whatson/youth/739.php','@ Genesis Youth Projects
from 3rd Aug 10 to 17th Aug 10']);
locations.push(['Genesis Summer Activities', 51.57042300896755, -0.09633885000000841, 'event-youth','/whatson/youth/740.php','@ Genesis Youth Projects
from 4th Aug 10 to 18th Aug 10']);
locations.push(['Genesis Summer Activities', 51.57042300896755, -0.09633885000000841, 'event-youth','/whatson/youth/741.php','@ Genesis Youth Projects
from 5th Aug 10 to 19th Aug 10']);
locations.push(['Hackney Quest Summer', 51.54432545886913, -0.046403150000005056, 'event-general','/whatson/general/743.php','@ Hackney Quest
from 2nd Aug 10 to 5th Aug 10']);
locations.push(['Hackney Quest Summer', 51.54432545886913, -0.046403150000005056, 'event-general','/whatson/general/744.php','@ Hackney Quest
from 9th Aug 10 to 13th Aug 10']);
locations.push(['Hackney Quest Summer', 51.5476447, -0.0601675, 'event-general','/whatson/general/745.php','@ Hackney Quest
from 16th Aug 10 to 19th Aug 10']);
locations.push(['Hackney Quest Summer', 51.54435214830034, -0.04644606534424334, 'event-general','/whatson/general/746.php','@ Hackney Quest
from 23rd Aug 10 to 27th Aug 10']);
locations.push(['St John at Hackney Art Project', 51.548151759524465, -0.05424518249512067, 'event-arts','/whatson/arts/748.php','@ Other
from 2nd Aug 10 to 3rd Aug 10']);
locations.push(['St John at Hackney Art Project', 51.548151759524465, -0.056176372985843326, 'event-arts','/whatson/arts/749.php','@ Other
from 8th Aug 10 to 10th Aug 10']);
locations.push(['Hackney One Carnival', 51.5544761850339, -0.06222743652344098, 'event-general','/whatson/general/750.php','@ Hackney Youth Offer
Sunday, 8th August 2010']);
locations.push(['Volunteering at Hackney City Farm', 51.531839131272456, -0.06635812514649064, 'event-general','/whatson/general/752.php','@ Hackney City Farm
from 20th Jul 10 to 21st Dec 10']);
locations.push(['Volunteering at Hackney City Farm', 51.531629386869724, -0.0708963360595738, 'event-general','/whatson/general/753.php','@ Hackney City Farm
from 15th Jul 10 to 23rd Dec 10']);
locations.push(['Learn to Ice Skate', 51.570800778547174, -0.024993899999998792, 'event-sport','/whatson/sport/760.php','@ Lee Valley Ice Centre
Monday, 23rd August 2010']);
locations.push(['Purple Bus comes to Southwold', 51.56336250894, -0.05372650000000645, 'event-youth','/whatson/youth/761.php','@ Purple Bus
from 23rd Jul 10 to 3rd Sep 10']);
locations.push(['Purple Bus comes to Pembury Square', 51.55019942828776, -0.06015588465577704, 'event-youth','/whatson/youth/762.php','@ Purple Bus
from 28th Jul 10 to 1st Sep 10']);
locations.push(['Hackney Hounds', 51.5246384087889, -0.0722670999999897, 'event-entertainment','/whatson/entertainment/764.php','@ Whats Up Information
Thursday, 19th August 2010']);
locations.push(['HYPEme', 51.5246384087889, -0.0722670999999897, 'event-entertainment','/whatson/entertainment/765.php','@ Whats Up Information
Thursday, 19th August 2010']);
locations.push(['Hackney Wicked Arts Festival', 51.544121814661864, -0.023431965332034732, 'event-arts','/whatson/arts/768.php','@ Other
from 30th Jul 10 to 1st Aug 10']);
locations.push(['Coming of Age film premiere', 51.50658080871856, -0.1154373000000053, 'event-arts','/whatson/arts/769.php','@ Mouth That Roars
Saturday, 7th August 2010']);
locations.push(['CommUNITY @ Carnival', 51.55580465891396, -0.061097799999998426, 'event-arts','/whatson/arts/770.php','@ Stoke Newington Youth Forum
Sunday, 8th August 2010']);
locations.push(['Carnival workshops', 51.545218108869165, -0.05733499999999392, 'event-arts','/whatson/arts/771.php','@ Hackney Youth Service
from 4th Aug 10 to 5th Aug 10']);
for (var i = 0; i < locations.length; i++) {
var location = locations[i];
var type=location[3];
var myLatLng = new google.maps.LatLng(location[1], location[2]);
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
icon: icons[location[3]],
shape: shape,
title: location[0]
});
marker.setVisible(true);
markers.push(marker);
markerGroups[type].push(marker);
var infoWindow = new google.maps.InfoWindow(
{ content: ''+location[0]+'
'+location[5]+'
click here for more info',
size: new google.maps.Size(200,100)
});
google.maps.event.addListener(
marker, 'click', openInfoWindow(infoWindow, marker));
}
}
function openInfoWindow (infoWindow, marker) {
return function() {
// Close the last selected marker before opening this one.
if (visibleInfoWindow) {
visibleInfoWindow.close();
}
infoWindow.open(map, marker);
visibleInfoWindow = infoWindow;
};
}
function toggleGroup(type) {
for (var i = 0; i < markerGroups[type].length; i++) {
var marker = markerGroups[type][i];
if (marker.getVisible()) {
marker.setVisible(false);
} else {
marker.setVisible(true);
}
}
}
function hideAll() {
var inputlist = document.getElementsByTagName("input");
for (i = 0; i < inputlist.length; i++) {
if ( inputlist[i].getAttribute("type") == 'checkbox' ) {
inputlist[i].checked = false
}
}
for (var type in markerGroups) {
for (var i = 0; i < markerGroups[type].length; i++) {
var marker = markerGroups[type][i];
marker.setVisible(false);
}
}
}
function showAll() {
var inputlist = document.getElementsByTagName("input");
for (i = 0; i < inputlist.length; i++) {
if ( inputlist[i].getAttribute("type") == 'checkbox' ) {
inputlist[i].checked = true
}
}
for (var type in markerGroups) {
for (var i = 0; i < markerGroups[type].length; i++) {
var marker = markerGroups[type][i];
marker.setVisible(true);
}
}
}
function getNearest(lat,lng){
getpost = "POST";
var http_request = false;
if (window.XMLHttpRequest) {
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
http_request.overrideMimeType('text/xml');
}
} else if (window.ActiveXObject) {
try {
http_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
http_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!http_request) {
alert('Giving up :( Cannot create an XMLHTTP instance');
return false;
}
var proximityresults = document.getElementById('proximityresults');
http_request.onreadystatechange = function() {
if (http_request.readyState == 4 && http_request.status == 200) {
// got response
proximityresults.innerHTML=http_request.responseText;
} else {
proximityresults.innerHTML='populating list...';
}
};
http_request.open(getpost, "/include/proximity-results.php?lat="+lat+"&lng="+lng, true);
if(getpost == "POST") {
http_request.send('');
} else {
http_request.send(null);
}
}