//cached result.
//pull these out so i can grab them elsewhere
var map;
var allMarkers = [];
var layer;
var polygon;
var overlay;
var bounds = new google.maps.LatLngBounds();
function toggleLayer()
{
$("#layeron").toggleClass('layeron layeroff');
if( layer.getMap() ){
layer.setMap(null);
}else{
layer.setMap(map);
}
}
function toggletips()
{
$("#mtipson").toggleClass('layeron layeroff');
if( layer.getMap() ){
layer.setMap(null);
}else{
layer.setMap(map);
}
}
var tipObj = null;
var offset = {x: 20,y: 20};
function poponly() {
window.scrollTo(0,0);
google.maps.event.trigger(allMarkers[0],'click');
}
function dobounds() {
}
function popmapbyid(id) {
//
map.setZoom(17);
// setTimeout("map.setZoom(16)",1000);
var index = id;
google.maps.event.trigger(allMarkers[index],'click');
}
(function ($) {
"use strict";
var markerIcon = { anchor: new google.maps.Point(22,16),url: '/images/marker.png' }
function mainMap() {
function locationData(locationURL,locationCategory,locationImg,locationTitle,locationAddress,locationPhone,locationStarRating,locationRevievsCounter,tagline) {
if (locationCategory.length <4) {locationCategory ='Brewery';}
return ('
')
}
function locationDatamini(locationURL,locationCategory,locationImg,locationTitle,locationAddress,locationPhone,locationStarRating,locationRevievsCounter,tagline) {
return ('')
}
var minilocs = [
[locationDatamini('/noticed_venue/The_Brewers_Apprentice/51.0452723/-114.0535608/1/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/profile_banners/811754576021843968/1492459466/1080x360','The Brewer\'s Apprentice'," 448 8th Ave. S.E Calgary,AB T2G 0L7 ","403 804 4924","5","0","The Brewer\'s Apprentice is more than just craft beer and growler fills - it\'s a celebration of beer and the people who brew it."),51.0452723,-114.0535608,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke/51.042363/-114.0916935/2/Craft_Beer_Calgary/','Recommended Dining','http://pigandduke.ca/wp-content/uploads/2015/02/pigduke_wordmark_downtown.png','Pig and Duke'," 1312 - 12th Ave SW ","403-245-8487","5","0","Pig & Duke Pub & Eatery. We love bacon! Do you?"),51.042363,-114.0916935,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke/51.0494191/-114.0717827/3/Craft_Beer_Calgary/','Recommended Dining','http://pigandduke.ca/wp-content/uploads/2015/02/pigduke_wordmark_downtown.png','Pig and Duke'," 503 4 Ave SW,Calgary AB ","403.452.0539","5","0","Pig & Duke Pub & Eatery. We love bacon! Do you?"),51.0494191,-114.0717827,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
[locationDatamini('/noticed_venue/Wise_Guys_Liquor/51.0823146/-113.9960224/4/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/media/DT7eQyLV4AA9fqS.jpg','Wise Guys Liquor'," 2770 32 Avenue NE ","(403) 219-8804","5","0","We are a fully stocked liquor store in NE Calgary"),51.0823146,-113.9960224,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/The_Brewers_Apprentice/51.0452723/-114.0535608/6/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/profile_banners/811754576021843968/1492459466/1080x360','The Brewer\'s Apprentice'," 448 8 Avenue Southeast,Calgary,AB T2G 0L7 ","403 804 4924","5","0","The Brewer\'s Apprentice is more than just craft beer and growler fills - it\'s a celebration of beer and the people who brew it."),51.0452723,-114.0535608,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Domestic_Bottle_Shop/51.043714/-114.0810341/7/Craft_Beer_Calgary/','Craft Beer Store','http://static1.squarespace.com/static/59dd0ea303596ebc9ac6081a/t/59f26d7c2774d1b6f7940781/1533172968230/?format=1500w','Domestic Bottle Shop'," 833 10 Ave SW,Calgary,AB T2R 0B4 ","(403) 261-0680","5","0","A quaint beer store specializing in Alberta\'s best craft beers. Rotating selection of 12 growler taps."),51.043714,-114.0810341,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Reworks/51.0399131/-114.0614035/5/Craft_Beer_Calgary/','Tours By Bike Location','https://pbs.twimg.com/profile_banners/412552504/1519858578/1080x360','Reworks'," 1325 1 STREET SE CALGARY,AB T2G 5L1 ","403.263.4366","5","0","Urban Bike Rentals and Seasonal Tours - Retailer of one of a kind gifts made from all kinds of stuff! "),51.0399131,-114.0614035,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/cycling.png' }],
[locationDatamini('/noticed_venue/Leopold`s_Tavern/51.0869222 /-114.1822093/','20oz Pours','/images/20ozpour.ong','Leopold`s Tavern',"","","5","0","20 Ounce Pours"),51.0869222 ,-114.1822093,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Kensington_Pub/51.0528252 /-114.0875574/','20oz Pours','/images/20ozpour.ong','Kensington Pub',"","","5","0","20 Ounce Pours"),51.0528252 ,-114.0875574,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Kilkenny_Irish_Pub/51.0869932 /-114.1268808/','20oz Pours','/images/20ozpour.ong','Kilkenny Irish Pub',"","","5","0","20 Ounce Pours"),51.0869932 ,-114.1268808,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Madrose_Pub/51.1510798 /-114.2103415/','20oz Pours','/images/20ozpour.ong','Madrose Pub',"","","5","0","20 Ounce Pours"),51.1510798 ,-114.2103415,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Oak_Tree_Tavern/51.0529093 /-114.0855357/','20oz Pours','/images/20ozpour.ong','Oak Tree Tavern',"","","5","0","20 Ounce Pours"),51.0529093 ,-114.0855357,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Scotsmans_Well/51.1621568 /-114.1248078/','20oz Pours','/images/20ozpour.ong','Scotsmans Well',"","","5","0","20 Ounce Pours"),51.1621568 ,-114.1248078,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Side_Street_Pub_and_Grill/51.0521173 /-114.0892414/','20oz Pours','/images/20ozpour.ong','Side Street Pub & Grill',"","","5","0","20 Ounce Pours"),51.0521173 ,-114.0892414,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Stavros_Pizza_and_Sports_Bar/51.120774 /-114.179611/','20oz Pours','/images/20ozpour.ong','Stavros Pizza & Sports Bar',"","","5","0","20 Ounce Pours"),51.120774 ,-114.179611,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Cat_`n_Fiddle_Pub/51.0671444 /-114.0737677/','20oz Pours','/images/20ozpour.ong','The Cat `n Fiddle Pub',"","","5","0","20 Ounce Pours"),51.0671444 ,-114.0737677,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Juliet`s_Castle_Sports_Lounge/51.067281 /-114.053785/','20oz Pours','/images/20ozpour.ong','Juliet`s Castle Sports Lounge',"","","5","0","20 Ounce Pours"),51.067281 ,-114.053785,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Toad_N_Turtle_Pubhouse_and_Grill/51.0765616 /-114.0026329/','20oz Pours','/images/20ozpour.ong','Toad N Turtle Pubhouse & Grill',"","","5","0","20 Ounce Pours"),51.0765616 ,-114.0026329,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bear_and_Kilt_Freehouse/51.0456739 /-114.0637285/','20oz Pours','/images/20ozpour.ong','Bear & Kilt Freehouse',"","","5","0","20 Ounce Pours"),51.0456739 ,-114.0637285,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Blanco_Cantina/51.0376006 /-114.0785443/','20oz Pours','/images/20ozpour.ong','Blanco Cantina',"","","5","0","20 Ounce Pours"),51.0376006 ,-114.0785443,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch/50.9626911 /-114.0874801/','20oz Pours','/images/20ozpour.ong','Bull and Finch',"","","5","0","20 Ounce Pours"),50.9626911 ,-114.0874801,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch_Bridlewood_Pub_Restaurant/50.9059455 /-114.1108518/','20oz Pours','/images/20ozpour.ong','Bull & Finch Bridlewood Pub Restaurant',"","","5","0","20 Ounce Pours"),50.9059455 ,-114.1108518,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/City_Pub/51.030137 /-114.142209/','20oz Pours','/images/20ozpour.ong','City Pub',"","","5","0","20 Ounce Pours"),51.030137 ,-114.142209,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Civic_Tavern/51.041355 /-114.0667633/','20oz Pours','/images/20ozpour.ong','Civic Tavern',"","","5","0","20 Ounce Pours"),51.041355 ,-114.0667633,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Coach_and_Horses_Ale_Room/50.9137607 /-114.07228/','20oz Pours','/images/20ozpour.ong','Coach & Horses Ale Room',"","","5","0","20 Ounce Pours"),50.9137607 ,-114.07228,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Joyce_on_4th/51.0316959 /-114.0717222/','20oz Pours','/images/20ozpour.ong','Joyce on 4th',"","","5","0","20 Ounce Pours"),51.0316959 ,-114.0717222,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Limericks_Traditional_Public_House/50.988427 /-114.070813/','20oz Pours','/images/20ozpour.ong','Limericks Traditional Public House',"","","5","0","20 Ounce Pours"),50.988427 ,-114.070813,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Leopold`s_Tavern/51.0413625 /-114.0660805/','20oz Pours','/images/20ozpour.ong','Leopold`s Tavern',"","","5","0","20 Ounce Pours"),51.0413625 ,-114.0660805,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Mad_Rose_Pub_Marda_Loop/51.024213 /-114.1079729/','20oz Pours','/images/20ozpour.ong','Mad Rose Pub Marda Loop',"","","5","0","20 Ounce Pours"),51.024213 ,-114.1079729,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Murdoch`s_Bar_and_Grill/51.036695 /-114.1418418/','20oz Pours','/images/20ozpour.ong','Murdoch`s Bar & Grill',"","","5","0","20 Ounce Pours"),51.036695 ,-114.1418418,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke_on_4th/51.0494192 /-114.0717975/','20oz Pours','/images/20ozpour.ong','Pig and Duke on 4th',"","","5","0","20 Ounce Pours"),51.0494192 ,-114.0717975,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke_on_12th/51.0423718 /-114.0916835/','20oz Pours','/images/20ozpour.ong','Pig & Duke on 12th',"","","5","0","20 Ounce Pours"),51.0423718 ,-114.0916835,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Palomino_Smokehouse/51.0463782 /-114.0635917/','20oz Pours','/images/20ozpour.ong','Palomino Smokehouse',"","","5","0","20 Ounce Pours"),51.0463782 ,-114.0635917,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Posto_Pizzeria_and_Bar/51.0435316 /-114.0812472/','20oz Pours','/images/20ozpour.ong','Posto Pizzeria & Bar',"","","5","0","20 Ounce Pours"),51.0435316 ,-114.0812472,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Schooner`s_Neighbourhood_Pub/51.061002 /-114.179684/','20oz Pours','/images/20ozpour.ong','Schooner`s Neighbourhood Pub',"","","5","0","20 Ounce Pours"),51.061002 ,-114.179684,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Stockman`s_Restaurant_and_Lounge/50.8354586 /-114.0013155/','20oz Pours','/images/20ozpour.ong','Stockman`s Restaurant & Lounge',"","","5","0","20 Ounce Pours"),50.8354586 ,-114.0013155,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Swigs_Pub_and_Grill/50.953666 /-114.129619/','20oz Pours','/images/20ozpour.ong','Swigs Pub & Grill',"","","5","0","20 Ounce Pours"),50.953666 ,-114.129619,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Dog_and_Duck_Public_House_and_Restaurant/51.005779 /-114.06825/','20oz Pours','/images/20ozpour.ong','The Dog & Duck Public House and Restaurant',"","","5","0","20 Ounce Pours"),51.005779 ,-114.06825,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Fox_On_6th/51.0461892 /-114.0768579/','20oz Pours','/images/20ozpour.ong','The Fox On 6th',"","","5","0","20 Ounce Pours"),51.0461892 ,-114.0768579,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Ship_and_Anchor/51.0380433 /-114.073592/','20oz Pours','/images/20ozpour.ong','The Ship & Anchor',"","","5","0","20 Ounce Pours"),51.0380433 ,-114.073592,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Unicorn/51.045526 /-114.0668368/','20oz Pours','/images/20ozpour.ong','The Unicorn',"","","5","0","20 Ounce Pours"),51.045526 ,-114.0668368,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Upper_Deck_Public_House/51.048316 /-114.086268/','20oz Pours','/images/20ozpour.ong','Upper Deck Public House',"","","5","0","20 Ounce Pours"),51.048316 ,-114.086268,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Atlas_Pizza_and_Sports_Bar/51.0532278 /-113.9425714/','20oz Pours','/images/20ozpour.ong','Atlas Pizza & Sports Bar',"","","5","0","20 Ounce Pours"),51.0532278 ,-113.9425714,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch_Neighborhood_Pub/50.9524727 /-113.9985903/','20oz Pours','/images/20ozpour.ong','Bull and Finch Neighborhood Pub',"","","5","0","20 Ounce Pours"),50.9524727 ,-113.9985903,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Dixon`s_Public_House/50.9146191 /-114.0662323/','20oz Pours','/images/20ozpour.ong','Dixon`s Public House',"","","5","0","20 Ounce Pours"),50.9146191 ,-114.0662323,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/King_Eddy/51.0444525 /-114.053414/','20oz Pours','/images/20ozpour.ong','King Eddy',"","","5","0","20 Ounce Pours"),51.0444525 ,-114.053414,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Southland_Yard_Bar_and_Table/50.9644541 /-114.0692117/','20oz Pours','/images/20ozpour.ong','Southland Yard Bar and Table',"","","5","0","20 Ounce Pours"),50.9644541 ,-114.0692117,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Tommyfield_Gastro_Pub/50.879765 /-113.9590696/','20oz Pours','/images/20ozpour.ong','The Tommyfield Gastro Pub',"","","5","0","20 Ounce Pours"),50.879765 ,-113.9590696,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Toad_`N`_Turtle/50.9308283/-113.9619836/','20oz Pours','/images/20ozpour.ong','Toad `N` Turtle',"","","5","0","20 Ounce Pours"),50.9308283,-113.9619836,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
];
//yycpizzaweek
function eventlocationData(locationURL,locationCategory,locationImg,locationTitle,locationAddress,locationPhone,locationStarRating,locationRevievsCounter,tagline) {
return ('')
}
var eventlocations = [
];
//end yycpizzaweek
var locations = [
[locationData('/calgary_brewery_profile/22/Caravel_Craft_Brewery/','Pints,Fills,Cans,Merch,More','/markerbacking.asp?status=11&id=22','Caravel Craft Brewery'," 12 - 10221 15 St NE ","4039714612","5","6","High quality craft beer rooted in old brewing traditions."),51.143962,-114.029084,0,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=22&status=11'},'Caravel Craft Brewery',11,51.143962,-114.029084 ],
[locationData('/calgary_brewery_profile/1/Tool_Shed_Brewing_Co/','Fills,Pints,Cans,Merch,Tours','/markerbacking.asp?status=11&id=1','Tool Shed Brewing Co.'," 801 30 St NE ","(403) 775-1749","5","6","We make handcrafted beer,best served with a story!"),51.0596614,-113.9897405,1,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=1&status=11'},'Tool Shed Brewing Co.',11,51.0596614,-113.9897405 ],
[locationData('/calgary_brewery_profile/32/Trolley_5_Restaurant_and_Brewery/','Resto,Fills,Cans,Pints,Merch,Tours','/markerbacking.asp?status=11&id=32','Trolley 5 Restaurant and Brewery'," 728 17th Avenue SW Calgary ","403-454-3731","5","7","Your Community Brewpub - Born and Raised."),51.0378382,-114.0785796,2,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=32&status=11'},'Trolley 5 Restaurant and Brewery',11,51.0378382,-114.0785796 ],
[locationData('/calgary_brewery_profile/3/Annex_Ale_Project/','Pints,Fills,Cans','/markerbacking.asp?status=3&id=3','Annex Ale Project'," 4323 1st St. S.E. Calgary ","403-475-4492","5","6","A small brewery for big talk,bold plans,and potential (mis)adventure."),51.0147994,-114.0617491,3,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=3&status=3'},'Annex Ale Project',3,51.0147994,-114.0617491 ],
[locationData('/calgary_brewery_profile/2/Banded_Peak_Brewing/','Pints,Fills,Cans','/markerbacking.asp?status=3&id=2','Banded Peak Brewing'," 119 ","(403) 283-5133","5","6","Pouring beer across Calgary! Taproom is open Wednesday to Sunday."),51.022842,-114.0516512,4,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=2&status=3'},'Banded Peak Brewing',3,51.022842,-114.0516512 ],
[locationData('/calgary_brewery_profile/44/Eighty-Eight_Brewing_Company/','Fills,Pints,Bottles,Merch','/markerbacking.asp?status=3&id=44','Eighty-Eight Brewing Company'," 1070 - 2600 Portland St SE ","403-452-5880","5","32","NOW OPEN: In the spirit of Calgary '88"),51.031135,-114.0322188,5,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=44&status=3'},'Eighty-Eight Brewing Company',3,51.031135,-114.0322188 ],
[locationData('/calgary_brewery_profile/53/6_Corners_Brewery/','','/markerbacking.asp?status=2&id=53','6 Corners Brewery'," 109 Southbank Blvd ","(403) 850-5702","5","1","opening soon"),50.7048418,-113.945156,6,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=53&status=2'},'6 Corners Brewery',2,50.7048418,-113.945156 ],
[locationData('/calgary_brewery_profile/67/Banff_Ave_Brewing_Co/','Resto,Taproom','/markerbacking.asp?status=2&id=67','Banff Ave. Brewing Co.'," 110 Banff Ave ","(403) 762-1003","5","0","...it's all about the beer"),51.1748828,-115.5705477,7,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=67&status=2'},'Banff Ave. Brewing Co.',2,51.1748828,-115.5705477 ],
[locationData('/calgary_brewery_profile/19/Big_Rock_Brewery/','','/markerbacking.asp?status=2&id=19','Big Rock Brewery'," 5555 - 76TH AVE ","","5","0",""),50.984735,-113.955871,8,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=19&status=2'},'Big Rock Brewery',2,50.984735,-113.955871 ],
[locationData('/calgary_brewery_profile/20/Boiling_Oar_Brewing_Company/','','/markerbacking.asp?status=2&id=20','Boiling Oar Brewing Company'," 7930 51 Street SE ","1 403-903-5003","5","0",""),50.981592,-113.959561,9,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=20&status=2'},'Boiling Oar Brewing Company',2,50.981592,-113.959561 ],
[locationData('/calgary_brewery_profile/6/Born_Colorado_Brewing/','Pints,Merch','/markerbacking.asp?status=2&id=6','Born Colorado Brewing'," 414 36 Ave SE ","(403) 247-0295","5","5","Born in Colorado Crafted in Calgary"),51.0216313,-114.0542496,10,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=6&status=2'},'Born Colorado Brewing',2,51.0216313,-114.0542496 ],
[locationData('/calgary_brewery_profile/72/Bow_River_Brewing/','Tap,offsales','/markerbacking.asp?status=2&id=72','Bow River Brewing'," 5769 4 St SE #110 ","","5","3","Bow River Brewing is a craft brewery in Calgary close to the Chinook Centre and Blackfoot Inn."),51.0025917,-114.0538859,11,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=72&status=2'},'Bow River Brewing',2,51.0025917,-114.0538859 ],
[locationData('/calgary_brewery_profile/58/Brauerei_Fahr/','Ask','/markerbacking.asp?status=2&id=58','Brauerei Fahr'," 123 Kennedy Drive SE ","","5","0","Now OPen"),50.672625,-114.278559,12,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=58&status=2'},'Brauerei Fahr',2,50.672625,-114.278559 ],
[locationData('/calgary_brewery_profile/21/Brewsters_Brewing_Company/','','/markerbacking.asp?status=2&id=21','Brewsters Brewing Company'," 5519 53 St SE ","","5","0",""),51.0033554,-113.9574421,13,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=21&status=2'},'Brewsters Brewing Company',2,51.0033554,-113.9574421 ],
[locationData('/calgary_brewery_profile/46/Cabin_Brewing_Company/','','/markerbacking.asp?status=2&id=46','Cabin Brewing Company'," 505 36 Ave SE ","587-966-9696","5","0",""),51.021213,-114.0535758,14,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=46&status=2'},'Cabin Brewing Company',2,51.021213,-114.0535758 ],
[locationData('/calgary_brewery_profile/68/Canmore_Brewing_Company/','Taproom','/markerbacking.asp?status=2&id=68','Canmore Brewing Company'," 1460 Railway Ave ","(403) 678-2337","5","4","Craft beer in the heart of Canmore."),51.094509,-115.356934,15,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=68&status=2'},'Canmore Brewing Company',2,51.094509,-115.356934 ],
[locationData('/calgary_brewery_profile/7/Citizen_Brewing_Company/','Resto,fills,Cans,Merch','/markerbacking.asp?status=2&id=7','Citizen Brewing Company'," 227 35th Ave. N.E Calgary ","403-474-HOPS","5","5","PRESERVATIVE FREE,UNFILTERED,UNPASTEURIZED,UNCOMPROMISED"),51.0839916,-114.0583494,16,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=7&status=2'},'Citizen Brewing Company',2,51.0839916,-114.0583494 ],
[locationData('/calgary_brewery_profile/23/Cold_Garden_Beverage_Company/','','/markerbacking.asp?status=2&id=23','Cold Garden Beverage Company'," 1100 11 St SE ","403-764-2653","5","0",""),51.039746,-114.036862,17,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=23&status=2'},'Cold Garden Beverage Company',2,51.039746,-114.036862 ],
[locationData('/calgary_brewery_profile/24/Common_Crown_Brewing_Co/','','/markerbacking.asp?status=2&id=24','Common Crown Brewing Co'," 943 28 St NE Calgary AB ","","5","0",""),51.0611523,-113.9940515,18,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=24&status=2'},'Common Crown Brewing Co',2,51.0611523,-113.9940515 ],
[locationData('/calgary_brewery_profile/66/Coulee_Brew_Co/','Resto,Fills,Everyting','/markerbacking.asp?status=2&id=66','Coulee Brew Co.'," 4085 2 Ave S ","(403) 394-2337","5","4","Coulee Brew tap house/grill is a full-service pub style restaurant"),49.6976632,-112.779975,19,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=66&status=2'},'Coulee Brew Co.',2,49.6976632,-112.779975 ],
[locationData('/calgary_brewery_profile/73/Cowtown_Brewing_Company/','','/markerbacking.asp?status=2&id=73','Cowtown Brewing Company'," 1806 20 St Didsbury ","(403) 415-4151","5","0",""),51.6593686,-114.1378035,20,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=73&status=2'},'Cowtown Brewing Company',2,51.6593686,-114.1378035 ],
[locationData('/calgary_brewery_profile/47/Elite_Brewing_and_Cidery/','','/markerbacking.asp?status=2&id=47','Elite Brewing & Cidery'," 1319 Edmonton Trail NE ","403-277-7099","5","0",""),51.063985,-114.056618,21,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=47&status=2'},'Elite Brewing & Cidery',2,51.063985,-114.056618 ],
[locationData('/calgary_brewery_profile/45/Establishment_Brewing_Company/','','/markerbacking.asp?status=2&id=45','Establishment Brewing Company'," 4407 1 Street SoutheastCalgary ","","5","0","Now Open"),51.0142906,-114.062347,22,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=45&status=2'},'Establishment Brewing Company',2,51.0142906,-114.062347 ],
[locationData('/calgary_brewery_profile/74/Field_and_Forge_Brewing_Co/','Off-Sales','/markerbacking.asp?status=2&id=74','Field & Forge Brewing Co'," 3775 61 Avenue Innisfail ","(403) 227-7402","5","0","coming soon"),52.0206872,-113.9810931,23,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=74&status=2'},'Field & Forge Brewing Co',2,52.0206872,-113.9810931 ],
[locationData('/calgary_brewery_profile/54/Fitzsimmons_Brewing_Company/','','/markerbacking.asp?status=2&id=54','Fitzsimmons Brewing Company'," 4 - 220 East Lake Blvd ","(587) 892-2739","5","0",""),51.2899356,-113.9913816,24,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=54&status=2'},'Fitzsimmons Brewing Company',2,51.2899356,-113.9913816 ],
[locationData('/calgary_brewery_profile/14/Freehold_Brewing_Co/','No Taproom','/markerbacking.asp?status=2&id=14','Freehold Brewing Co.'," 2010 11 St SE Calgary T2G 3G3 ","4036718358","5","0","A NEW KIND OF CRAFT BEER"),51.0353934,-114.0366474,25,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=14&status=2'},'Freehold Brewing Co.',2,51.0353934,-114.0366474 ],
[locationData('/calgary_brewery_profile/11/Good_Mood_Brewery/','Pints,Cans,Fills','/markerbacking.asp?status=2&id=11','Good Mood Brewery'," 2123 ","403-452-1806","5","0","Good friends,good mood,good beer!"),50.9969983,-113.9722406,26,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=11&status=2'},'Good Mood Brewery',2,50.9969983,-113.9722406 ],
[locationData('/calgary_brewery_profile/33/Half_Hitch_Brewing_Company/','pints and off sales','/markerbacking.asp?status=2&id=33','Half Hitch Brewing Company'," 10 Griffin Industrial Point #1 ","(403) 988-4214","5","12",""),51.1835573,-114.4537135,27,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=33&status=2'},'Half Hitch Brewing Company',2,51.1835573,-114.4537135 ],
[locationData('/calgary_brewery_profile/26/High_Line_Brewing/','','/markerbacking.asp?status=2&id=26','High Line Brewing'," #113 ","","5","0",""),51.0408886,-114.0330473,28,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=26&status=2'},'High Line Brewing',2,51.0408886,-114.0330473 ],
[locationData('/calgary_brewery_profile/59/High_River_Brewing_Company/','Fills,Pints,Cans','/markerbacking.asp?status=2&id=59','High River Brewing Company'," 510 21 St SE ","(403) 649-2002","5","4","High River Brewing Company | Flowing Soon"),50.5773141,-113.8334382,29,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=59&status=2'},'High River Brewing Company',2,50.5773141,-113.8334382 ],
[locationData('/calgary_brewery_profile/39/Inner_City_Brewing/','Fills,Pints,Snacks','/markerbacking.asp?status=2&id=39','Inner City Brewing'," 816 11 Ave SW ","(587) 880-8600","5","8","Inner City is a place of unexpected connections."),51.0431119,-114.0799427,30,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=39&status=2'},'Inner City Brewing',2,51.0431119,-114.0799427 ],
[locationData('/calgary_brewery_profile/27/Last_Best_Brewing_and_Distillery/','','/markerbacking.asp?status=2&id=27','Last Best Brewing and Distillery'," 607 11th Ave SW ","587-353-7387","5","10",""),51.0426948,-114.0744823,31,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=27&status=2'},'Last Best Brewing and Distillery',2,51.0426948,-114.0744823 ],
[locationData('/calgary_brewery_profile/35/Last_Spike_Brewing/','Brew for Hire','/markerbacking.asp?status=2&id=35','Last Spike Brewing'," 5840 76 Ave SE #40 ","5875784447","5","0","Opening soon"),50.985179,-113.9466564,32,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=35&status=2'},'Last Spike Brewing',2,50.985179,-113.9466564 ],
[locationData('/calgary_brewery_profile/36/Legend_7_Brewing/','Fills,Pints,Bottles,Resto','/markerbacking.asp?status=2&id=36','Legend 7 Brewing'," 4025 9 St SE ","(587)-355-3105","5","8","Tap Room and Restaurant Now Open!"),51.018751,-114.040662,33,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=36&status=2'},'Legend 7 Brewing',2,51.018751,-114.040662 ],
[locationData('/calgary_brewery_profile/42/Marda_Loop_Brewing_Company_Inc/','','/markerbacking.asp?status=2&id=42','Marda Loop Brewing Company Inc.'," 3523 18 St SW ","403-585-8087","5","6",""),51.0223457,-114.1051801,34,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=42&status=2'},'Marda Loop Brewing Company Inc.',2,51.0223457,-114.1051801 ],
[locationData('/calgary_brewery_profile/17/Mill_Street_Brew_Pub/','','/markerbacking.asp?status=2&id=17','Mill Street Brew Pub'," 219 17 Ave SW ","","5","0",""),51.0375366,-114.0673264,35,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=17&status=2'},'Mill Street Brew Pub',2,51.0375366,-114.0673264 ],
[locationData('/calgary_brewery_profile/9/New_Level_Brewing/','Taproom','/markerbacking.asp?status=2&id=9','New Level Brewing'," Unit 4140 ","403-764-4359","5","4","Take it to a New Level"),50.9920124,-114.0656316,36,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=9&status=2'},'New Level Brewing',2,50.9920124,-114.0656316 ],
[locationData('/calgary_brewery_profile/10/Ol_Beautiful_Brewing_Co/','Fills,Pints,Snacks','/markerbacking.asp?status=2&id=10','Ol` Beautiful Brewing Co.'," 1103 12 St SE ","403-978-4721","5","8","Now Open! - WE PUT CRAFT FIRST"),51.03958,-114.036338,37,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=10&status=2'},'Ol` Beautiful Brewing Co.',2,51.03958,-114.036338 ],
[locationData('/calgary_brewery_profile/64/Olds_College_Brewery/','Taproom','/markerbacking.asp?status=2&id=64','Olds College Brewery'," 4500 50 StreetOlds ","(403) 556-8293","5","6",""),51.7889795,-114.0930925,38,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=64&status=2'},'Olds College Brewery',2,51.7889795,-114.0930925 ],
[locationData('/calgary_brewery_profile/61/Origin_Malting_and_Brewing_Co/','Fills,Pints,Cans,Tours,Merch','/markerbacking.asp?status=2&id=61','Origin Malting & Brewing Co.'," 60 Spruce Park Dr ","(403) 902-0868","5","1","Local Barley to Beer."),51.0318856,-113.388457599,39,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=61&status=2'},'Origin Malting & Brewing Co.',2,51.0318856,-113.388457599 ],
[locationData('/calgary_brewery_profile/43/OT_Brewing_Company/','','/markerbacking.asp?status=2&id=43','OT Brewing Company'," 1155 44 Ave SE ","","5","4",""),51.013479,-114.0386392,40,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=43&status=2'},'OT Brewing Company',2,51.013479,-114.0386392 ],
[locationData('/calgary_brewery_profile/29/Outcast_Brewing/','Coming Soon (In stores now)','/markerbacking.asp?status=2&id=29','Outcast Brewing'," 607 Manitou Rd SE ","","5","0","Contract Brewery - Location Unknown"),51.0097827,-114.0516443,41,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=29&status=2'},'Outcast Brewing',2,51.0097827,-114.0516443 ],
[locationData('/calgary_brewery_profile/12/Paddy_s_Barbecue_and_Brewery/','Resto,fills,pints,Merch','/markerbacking.asp?status=2&id=12','Paddy`s Barbecue & Brewery'," 3610 Burnsland Road SE ","403-651-7150","5","4","Calgary's First Smoke House and Brewery."),51.0228699,-114.0576988,42,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=12&status=2'},'Paddy`s Barbecue & Brewery',2,51.0228699,-114.0576988 ],
[locationData('/calgary_brewery_profile/70/Piston_Broke_Brewing/','','/markerbacking.asp?status=2&id=70','Piston Broke Brewing'," 350 9st East Brooks ","","5","0",""),50.5563484,-111.8833682,43,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=70&status=2'},'Piston Broke Brewing',2,50.5563484,-111.8833682 ],
[locationData('/calgary_brewery_profile/16/Prairie_Dog_Brewing/','Resto,Brewpub','/markerbacking.asp?status=2&id=16','Prairie Dog Brewing'," 105 58 Ave SE ","403-407-2448","5","4","NOW OPEN! A BREWPUB LIKE NOTHING ELSE IN CALGARY"),51.0010782,-114.0632749,44,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=16&status=2'},'Prairie Dog Brewing',2,51.0010782,-114.0632749 ],
[locationData('/calgary_brewery_profile/13/Railyard_Brewing/','Taproom','/markerbacking.asp?status=2&id=13','Railyard Brewing'," 10301 19 Street Northeast #Unit 121 ","403-465-4831","5","4","Welcome to Railyard,where science and art collide."),51.146557,-114.013922,45,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=13&status=2'},'Railyard Brewing',2,51.146557,-114.013922 ],
[locationData('/calgary_brewery_profile/30/Red_Bison_Brewery/','BrewPub','/markerbacking.asp?status=2&id=30','Red Bison Brewery'," 3016 10 Ave NE unit 111 ","(587) 894-4766","5","0",""),51.0623221,-113.9911343,46,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=30&status=2'},'Red Bison Brewery',2,51.0623221,-113.9911343 ],
[locationData('/calgary_brewery_profile/34/RevivalBrewcade/','','/markerbacking.asp?status=2&id=34','RevivalBrewcade'," 1217B 9 Ave SE ","587-893-2337","5","0","Canada's first Craft Brewery Arcade: NOW OPEN"),51.0415675,-114.0357889,47,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=34&status=2'},'RevivalBrewcade',2,51.0415675,-114.0357889 ],
[locationData('/calgary_brewery_profile/75/SunnyCider/','','/markerbacking.asp?status=2&id=75','SunnyCider'," ","","5","0","Coming Soon"),51.065321,-113.987127,48,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=75&status=2'},'SunnyCider',2,51.065321,-113.987127 ],
[locationData('/calgary_brewery_profile/37/The_Dandy_Brewing_Company_And_Tasting_Room/','Fills,Resto,Cans','/markerbacking.asp?status=2&id=37','The Dandy Brewing Company And Tasting Room'," 2003 11 St SE ","403-769-9399","5","0",""),51.0351457,-114.0372775,49,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=37&status=2'},'The Dandy Brewing Company And Tasting Room',2,51.0351457,-114.0372775 ],
[locationData('/calgary_brewery_profile/69/The_Grizzly_Paw_Brewing_Company/','Resto','/markerbacking.asp?status=2&id=69','The Grizzly Paw Brewing Company'," 622 8 St ","(403) 678-9983","5","4","Rustic,mountain-view pub pairing its own microbrews with elevated Canadian bar fare,plus a patio."),51.0885855,-115.3451317,50,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=69&status=2'},'The Grizzly Paw Brewing Company',2,51.0885855,-115.3451317 ],
[locationData('/calgary_brewery_profile/60/Township_24_Brewery/','Offsales','/markerbacking.asp?status=2&id=60','Township 24 Brewery'," 210 - 100 Rainbow Road ","4039219145","5","0","Putting Local On The Map."),51.0252767,-113.8405356,51,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=60&status=2'},'Township 24 Brewery',2,51.0252767,-113.8405356 ],
[locationData('/calgary_brewery_profile/40/Uncommon_Cider_Co/','','/markerbacking.asp?status=2&id=40','Uncommon Cider Co'," 3915 Manchester Rd SECalgary ","","5","1","Coming soon"),51.0187972,-114.0595335,52,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=40&status=2'},'Uncommon Cider Co',2,51.0187972,-114.0595335 ],
[locationData('/calgary_brewery_profile/5/Village_Brewery/','Fills,Cans,Tours,Pints,Snacks','/markerbacking.asp?status=2&id=5','Village Brewery'," 5000 12A Street SE ","403-243-3327","5","7","Gathering people around community,one or two beers at a time."),51.0094443,-114.0352996,53,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=5&status=2'},'Village Brewery',2,51.0094443,-114.0352996 ],
[locationData('/calgary_brewery_profile/4/Wild_Rose_Brewery_Ltd/','pints and off sales','/markerbacking.asp?status=2&id=4','Wild Rose Brewery Ltd'," 4580 Quesnay Wood Dr SW ","(403) 727-5451","5","6","'Strong and Free',Wildrose is worth tasting."),51.0144733,-114.1227383,54,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=4&status=2'},'Wild Rose Brewery Ltd',2,51.0144733,-114.1227383 ],
[locationData('/calgary_brewery_profile/18/Zero_Issue_Brewing/','','/markerbacking.asp?status=2&id=18','Zero Issue Brewing'," 4210 12 St NE ","","5","0",""),51.0893382,-114.0316046,55,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=18&status=2'},'Zero Issue Brewing',2,51.0893382,-114.0316046 ],
[locationData('/calgary_brewery_profile/62/948_Brewing/','','/markerbacking.asp?status=1&id=62','948 Brewing'," Somewhere ","","5","0","Nano brewery opening soonish in Airdrie,Alberta"),51.1286136,-114.1137329,56,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=62&status=1'},'948 Brewing',1,51.1286136,-114.1137329 ],
[locationData('/calgary_brewery_profile/49/Avila_Brewing/','Coming Soon','/markerbacking.asp?status=1&id=49','Avila Brewing'," Calgary ","","5","0","Nano Brewery - Not Opened Yet - Location Unknown"),51.1206099,-114.0987536,57,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=49&status=1'},'Avila Brewing',1,51.1206099,-114.0987536 ],
[locationData('/calgary_brewery_profile/51/Baghead_Brewers/','Coming Soon','/markerbacking.asp?status=1&id=51','Baghead Brewers'," Calgary ","","5","0","Nano Brewery - Not Opened Yet - Location Unknown"),51.1182121,-114.1264368,58,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=51&status=1'},'Baghead Brewers',1,51.1182121,-114.1264368 ],
[locationData('/calgary_brewery_profile/15/Civil_Beer_Company/','STAY TUNED!','/markerbacking.asp?status=1&id=15','Civil Beer Company'," 1026 18 Avenue SECalgary ","(403) 680-5618","5","0","CIVILIZATION & CIVILITY THRIVE WHERE THERE IS BEER"),51.105434,-114.109428,59,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=15&status=1'},'Civil Beer Company',1,51.105434,-114.109428 ],
[locationData('/calgary_brewery_profile/50/Delta_Brewery/','Coming Soon','/markerbacking.asp?status=1&id=50','Delta Brewery'," Airdrie ","","5","0","Nano Brewery - Not Opened Yet"),51.2854723,-114.0716046,60,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=50&status=1'},'Delta Brewery',1,51.2854723,-114.0716046 ],
[locationData('/calgary_brewery_profile/8/Evil_Corporation_Brewing/','Coming Soon','/markerbacking.asp?status=1&id=8','Evil Corporation Brewing'," Unknown ","","5","0","it's coming"),51.1194176,-114.1133906,61,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=8&status=1'},'Evil Corporation Brewing',1,51.1194176,-114.1133906 ],
[locationData('/calgary_brewery_profile/25/Goat_Locker_Brewing_Company/','In Stores/Pubs Only','/markerbacking.asp?status=1&id=25','Goat Locker Brewing Company'," 209 9a St NW ","","5","0","Contract Brewing - No Location Yet"),51.115703,-114.1057717,62,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=25&status=1'},'Goat Locker Brewing Company',1,51.115703,-114.1057717 ],
[locationData('/calgary_brewery_profile/55/Hard_Knox_Brewery/','Fills,pints','/markerbacking.asp?status=1&id=55','Hard Knox Brewery'," 445 1ave ","","5","0","Taproom now open"),50.688794,-114.224779,63,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=55&status=1'},'Hard Knox Brewery',1,50.688794,-114.224779 ],
[locationData('/calgary_brewery_profile/56/Heathen_s_Brewing/','','/markerbacking.asp?status=1&id=56','Heathen`s Brewing'," 3320 14 Ave NE ","(403)970-5663","5","0","Coming Soon. Gluten Free Beer."),51.0653745,-113.9861669,64,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=56&status=1'},'Heathen`s Brewing',1,51.0653745,-113.9861669 ],
[locationData('/calgary_brewery_profile/57/Hubtown_Brewing/','','/markerbacking.asp?status=1&id=57','Hubtown Brewing'," 41 Elizabeth St ","","5","0","Planned"),50.7254262,-113.9777061,65,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=57&status=1'},'Hubtown Brewing',1,50.7254262,-113.9777061 ],
[locationData('/calgary_brewery_profile/63/Prairie_Baard/','In stores only','/markerbacking.asp?status=1&id=63','Prairie Baard'," Calgary ","(403) 874- 2681","5","0","Great work today. Grab a Baard."),51.1120014,-114.1210344,66,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=63&status=1'},'Prairie Baard',1,51.1120014,-114.1210344 ],
[locationData('/calgary_brewery_profile/41/Rapid_Ascent/','','/markerbacking.asp?status=1&id=41','Rapid Ascent'," 107 10985 38 St NE ","","5","0",""),51.1528306,-113.9780222,67,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=41&status=1'},'Rapid Ascent',1,51.1528306,-113.9780222 ],
[locationData('/calgary_brewery_profile/52/Terracotta_Brewing_Co/','','/markerbacking.asp?status=1&id=52','Terracotta Brewing Co.'," 6410 Ogden Dale Rd SE ","","5","0",""),-114.0009212,50.9959856,68,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=52&status=1'},'Terracotta Brewing Co.',1,-114.0009212,50.9959856 ],
[locationData('/calgary_brewery_profile/31/The_Dandy_Brewing_Company/','','/markerbacking.asp?status=1&id=31','The Dandy Brewing Company'," #11 1826 25th Ave NE ","","5","0",""),51.0751355,-114.0147848,69,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=31&status=1'},'The Dandy Brewing Company',1,51.0751355,-114.0147848 ],
[locationData('/calgary_brewery_profile/65/Theoretically_Brewing_Company_Ltd/','Fills,Pints,Bottles','/markerbacking.asp?status=1&id=65','Theoretically Brewing Company Ltd.'," 1263 2 Ave S ","(403) 715-5140","5","1","We are the best-kept secret in Lethbridge! "),49.6976418,-112.8258722,70,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=65&status=1'},'Theoretically Brewing Company Ltd.',1,49.6976418,-112.8258722 ],
[locationData('/calgary_brewery_profile/38/Two_House_Brewing/','','/markerbacking.asp?status=1&id=38','Two House Brewing'," 1526 10 Ave SW ","","5","0","coming soon"),51.0444521,-114.0962728,71,{ anchor: new google.maps.Point(22,16),url: '/custommarker.asp?id=38&status=1'},'Two House Brewing',1,51.0444521,-114.0962728 ]
];
map = new google.maps.Map(document.getElementById('map-main'),{
zoom: 13,
scrollwheel: true,
center: new google.maps.LatLng(51.0228354,-114.0536417),
mapTypeId: google.maps.MapTypeId.ROADMAP,
zoomControl: false,
mapTypeControl: false,
scaleControl: false,
panControl: false,
fullscreenControl: true,
navigationControl: false,
streetViewControl: false,
animation: google.maps.Animation.BOUNCE,
gestureHandling: 'greedy',
styles: [{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#444444"
}]
}]
});
dobounds();
map.addListener('zoom_changed',function() {
console.log('Zoom: ' + map.getZoom());
var aoms = [];
aoms = oms.getMarkers();
for(i = 0 ; i< aoms.length; i++) {
//console.log(oms.getMarkers());
}
});
//
//
//
//
function openAllClusters() {
var markers = oms.markersNearAnyOtherMarker();
$.each(markers,function (i,marker) {
google.maps.event.trigger(markers[i],'spider_click');
});
setTimeout(openAllClusters,200);
}
setTimeout(openAllClusters,2000);
//
//
//
//
var legend = document.createElement('div');
legend.id = 'legend';
var content = [];
content.push('');
legend.innerHTML = content.join('');
map.controls[google.maps.ControlPosition.LEFT_TOP].push(legend);
legend.index = 1;
layer = new google.maps.FusionTablesLayer({
map: map,
heatmap: { enabled: false },
query: {
select: "col2",
from: "11WUGDwMb62zuS2NfmQS2rkqIzVBj388UfilKfYDv",
where: ""
},
options: {
styleId: 2,
templateId: 2
}
});
// console.log(layer);
layer.setMap(null);
var boxText = document.createElement("div");
boxText.className = 'map-box'
var currentInfobox;
var boxOptions = {
content: boxText,
disableAutoPan: true,
alignBottom: true,
maxWidth: 0,
pixelOffset: new google.maps.Size(-145,-45),
zIndex: null,
boxStyle: {
width: "260px"
},
closeBoxMargin: "0",
closeBoxURL: "",
infoBoxClearance: new google.maps.Size(1,1),
isHidden: false,
pane: "floatPane",
enableEventPropagation: false,
};
var markerCluster,marker,i;
var allMarkersMin = [];
var allMarkersEvent = [];
var clusterStyles = [{
textColor: 'white',
url: '',
height: 50,
width: 50
}];
var clusterStylesMin = [{
textColor: 'white',
url: '',
height: 5,
width: 5
}];
var oms = new OverlappingMarkerSpiderfier(map,{
keepSpiderfied:true,
markersWontMove: true,// we promise not to move any markers,allowing optimizations
markersWontHide: true,// we promise not to change visibility of any markers,allowing optimizations
basicFormatEvents: true // allow the library to skip calculating advanced formatting information
});
for (i = 0; i < locations.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(locations[i][1],locations[i][2]),
icon: locations[i][4],
name:locations[i][5],
adminstatus:locations[i][6],
lat:locations[i][7],
lat:locations[i][8],
id: i
});
allMarkers.push(marker);
bounds.extend(marker.getPosition());
var ib = new InfoBox();
google.maps.event.addListener(ib,"domready",function () {
cardRaining()
});
oms.addMarker(marker);
google.maps.event.addListener(marker,'click',(function (marker,i) {
return function () {
$("#legend").hide();
ib.setOptions(boxOptions);
boxText.innerHTML = locations[i][0];
ib.close();
ib.open(map,marker);
currentInfobox = marker.id;
var latLng = new google.maps.LatLng(locations[i][1],locations[i][2]);
map.panTo(latLng);
map.panBy(0,-180);
google.maps.event.addListener(ib,'domready',function () {
$('.infoBox-close').click(function (e) {
e.preventDefault();
ib.close();
});
});
}
})(marker,i));
}
for (i = 0; i < minilocs.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(minilocs[i][1],minilocs[i][2]),
icon: minilocs[i][4],
map: map
});
allMarkersMin.push(marker);
var ib = new InfoBox();
google.maps.event.addListener(ib,"domready",function () {
cardRaining()
});
google.maps.event.addListener(marker,'click',(function (marker,i) {
return function () {
ib.setOptions(boxOptions);
boxText.innerHTML = minilocs[i][0];
ib.close();
ib.open(map,marker);
currentInfobox = marker.id;
var latLng = new google.maps.LatLng(minilocs[i][1],minilocs[i][2]);
map.panTo(latLng);
map.panBy(0,-180);
google.maps.event.addListener(ib,'domready',function () {
$('.infoBox-close').click(function (e) {
e.preventDefault();
ib.close();
});
});
}
})(marker,i));
}
for (i = 0; i < eventlocations.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(eventlocations[i][1],eventlocations[i][2]),
icon: '/images/pizza-icon.png',
name:eventlocations[i][5],
adminstatus:eventlocations[i][6],
lat:eventlocations[i][7],
lat:eventlocations[i][8],
id: i
});
allMarkersEvent.push(marker);
bounds.extend(marker.getPosition());
var ib = new InfoBox();
google.maps.event.addListener(ib,"domready",function () {
cardRaining()
});
oms.addMarker(marker);
google.maps.event.addListener(marker,'click',(function (marker,i) {
return function () {
$("#legend").hide();
ib.setOptions(boxOptions);
boxText.innerHTML = eventlocations[i][0];
ib.close();
ib.open(map,marker);
currentInfobox = marker.id;
var latLng = new google.maps.LatLng(eventlocations[i][1],eventlocations[i][2]);
map.panTo(latLng);
map.panBy(0,-180);
google.maps.event.addListener(ib,'domready',function () {
$('.infoBox-close').click(function (e) {
e.preventDefault();
ib.close();
});
});
}
})(marker,i));
}
var coptions = {
imagePath: 'images/',
styles: clusterStyles,
minClusterSize: 4,
extra:'drew is extra'
};
var optionsmin = {
imagePath: 'images/',
styles: clusterStylesMin,
minClusterSize: 1000
};
// markerCluster = new MarkerClusterer(map,allMarkersMin,optionsmin);
markerCluster = new MarkerClusterer(map,allMarkers,coptions);
google.maps.event.addDomListener(window,"resize",function () {
var center = map.getCenter();
google.maps.event.trigger(map,"resize");
map.setCenter(center);
});
$('.nextmap-nav').click(function (e) {
e.preventDefault();
map.setZoom(17);
var index = currentInfobox;
if (index + 1 < allMarkers.length) {
google.maps.event.trigger(allMarkers[index + 1],'click');
} else {
google.maps.event.trigger(allMarkers[0],'click');
}
});
$('.prevmap-nav').click(function (e) {
e.preventDefault();
map.setZoom(15);
if (typeof (currentInfobox) == "undefined") {
google.maps.event.trigger(allMarkers[allMarkers.length - 1],'click');
} else {
var index = currentInfobox;
if (index - 1 < 0) {
google.maps.event.trigger(allMarkers[allMarkers.length - 1],'click');
} else {
google.maps.event.trigger(allMarkers[index - 1],'click');
}
}
});
$('.map-item').click(function (e) {
e.preventDefault();
map.setZoom(15);
var index = currentInfobox;
var marker_index = parseInt($(this).attr('href').split('#')[1],10);
google.maps.event.trigger(allMarkers[marker_index],"click");
if ($(this).hasClass("scroll-top-map")){
$('html,body').animate({
scrollTop: $(".map-container").offset().top+ "-80px"
},500)
}
else if ($(window).width()<1064){
$('html,body').animate({
scrollTop: $(".map-container").offset().top+ "-80px"
},500)
}
});
var zoomControlDiv = document.createElement('div');
var zoomControl = new ZoomControl(zoomControlDiv,map);
function ZoomControl(controlDiv,map) {
zoomControlDiv.index = 1;
map.controls[google.maps.ControlPosition.RIGHT_CENTER].push(zoomControlDiv);
controlDiv.style.padding = '5px';
var controlWrapper = document.createElement('div');
controlDiv.appendChild(controlWrapper);
var zoomInButton = document.createElement('div');
zoomInButton.className = "mapzoom-in";
controlWrapper.appendChild(zoomInButton);
var zoomOutButton = document.createElement('div');
zoomOutButton.className = "mapzoom-out";
controlWrapper.appendChild(zoomOutButton);
google.maps.event.addDomListener(zoomInButton,'click',function () {
map.setZoom(map.getZoom() + 1);
});
google.maps.event.addDomListener(zoomOutButton,'click',function () {
map.setZoom(map.getZoom() - 1);
});
}
var infolocs = [
//["",51.0454191,-114.0715827,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
//["",51.045363,-114.0916535,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
//["",51.0359131,-114.0615035,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/cycling.png' }],
];
for (i = 0; i < infolocs.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(infolocs[i][1],infolocs[i][2]),
icon: infolocs[i][4],
map: map
});
google.maps.event.addListener(marker,'click',function(e){
var keys = Object.keys(e);
var x,y;
for (var i = 0; i < keys.length; i++) {
console.log(e[keys[i]]);
if (MouseEvent.prototype.isPrototypeOf(e[keys[i]])) {
x = e[keys[i]].clientX;
y = e[keys[i]].clientY;
}
}
console.log('clientx '+eval(e.va));
//deleteTooltip(e);
injectTooltip(e,"test",x,y);
});
//overlay.setMap(null);
}
}
map = document.getElementById('map-main');
//map.fitBounds(bounds);
// console.log("bounds");
// console.log(bounds);
if (typeof (map) != 'undefined' && map != null) {
google.maps.event.addDomListener(window,'load',mainMap);
}
function singleMap() {
var myLatLng = {
lng: $('#singleMap').data('longitude'),
lat: $('#singleMap').data('latitude'),
};
var smarkerIcon = { anchor: new google.maps.Point(22,16),url: $('#singleMap').data('icon') }
var single_map = new google.maps.Map(document.getElementById('singleMap'),{
zoom: 14,
center: myLatLng,
scrollwheel: false,
zoomControl: false,
mapTypeControl: false,
scaleControl: false,
panControl: false,
navigationControl: false,
streetViewControl: false,
styles: [{
"featureType": "landscape",
"elementType": "all",
"stylers": [{
"color": "#f2f2f2"
}]
}]
});
var marker = new google.maps.Marker({
position: myLatLng,
map: single_map,
icon: smarkerIcon,
gestureHandling: 'greedy',
title: 'Our Location'
});
function locationDatamini(locationURL,locationCategory,locationImg,locationTitle,locationAddress,locationPhone,locationStarRating,locationRevievsCounter,tagline) {
return ('')
}
var allMarkersMin = [];
var minilocs = [
[locationDatamini('/noticed_venue/The_Brewers_Apprentice/51.0452723/-114.0535608/1/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/profile_banners/811754576021843968/1492459466/1080x360','The Brewer\'s Apprentice'," 448 8th Ave. S.E Calgary,AB T2G 0L7 ","403 804 4924","5","0","The Brewer\'s Apprentice is more than just craft beer and growler fills - it\'s a celebration of beer and the people who brew it."),51.0452723,-114.0535608,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke/51.042363/-114.0916935/2/Craft_Beer_Calgary/','Recommended Dining','http://pigandduke.ca/wp-content/uploads/2015/02/pigduke_wordmark_downtown.png','Pig and Duke'," 1312 - 12th Ave SW ","403-245-8487","5","0","Pig & Duke Pub & Eatery. We love bacon! Do you?"),51.042363,-114.0916935,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke/51.0494191/-114.0717827/3/Craft_Beer_Calgary/','Recommended Dining','http://pigandduke.ca/wp-content/uploads/2015/02/pigduke_wordmark_downtown.png','Pig and Duke'," 503 4 Ave SW,Calgary AB ","403.452.0539","5","0","Pig & Duke Pub & Eatery. We love bacon! Do you?"),51.0494191,-114.0717827,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/restaurant.png' }],
[locationDatamini('/noticed_venue/Wise_Guys_Liquor/51.0823146/-113.9960224/4/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/media/DT7eQyLV4AA9fqS.jpg','Wise Guys Liquor'," 2770 32 Avenue NE ","(403) 219-8804","5","0","We are a fully stocked liquor store in NE Calgary"),51.0823146,-113.9960224,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/The_Brewers_Apprentice/51.0452723/-114.0535608/6/Craft_Beer_Calgary/','Craft Beer Store','https://pbs.twimg.com/profile_banners/811754576021843968/1492459466/1080x360','The Brewer\'s Apprentice'," 448 8 Avenue Southeast,Calgary,AB T2G 0L7 ","403 804 4924","5","0","The Brewer\'s Apprentice is more than just craft beer and growler fills - it\'s a celebration of beer and the people who brew it."),51.0452723,-114.0535608,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Domestic_Bottle_Shop/51.043714/-114.0810341/7/Craft_Beer_Calgary/','Craft Beer Store','http://static1.squarespace.com/static/59dd0ea303596ebc9ac6081a/t/59f26d7c2774d1b6f7940781/1533172968230/?format=1500w','Domestic Bottle Shop'," 833 10 Ave SW,Calgary,AB T2R 0B4 ","(403) 261-0680","5","0","A quaint beer store specializing in Alberta\'s best craft beers. Rotating selection of 12 growler taps."),51.043714,-114.0810341,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/liquor.png' }],
[locationDatamini('/noticed_venue/Reworks/51.0399131/-114.0614035/5/Craft_Beer_Calgary/','Tours By Bike Location','https://pbs.twimg.com/profile_banners/412552504/1519858578/1080x360','Reworks'," 1325 1 STREET SE CALGARY,AB T2G 5L1 ","403.263.4366","5","0","Urban Bike Rentals and Seasonal Tours - Retailer of one of a kind gifts made from all kinds of stuff! "),51.0399131,-114.0614035,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/cycling.png' }],
[locationDatamini('/noticed_venue/Leopold`s_Tavern/51.0869222 /-114.1822093/','20oz Pours','/images/20ozpour.ong','Leopold`s Tavern',"","","5","0","20 Ounce Pours"),51.0869222 ,-114.1822093,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Kensington_Pub/51.0528252 /-114.0875574/','20oz Pours','/images/20ozpour.ong','Kensington Pub',"","","5","0","20 Ounce Pours"),51.0528252 ,-114.0875574,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Kilkenny_Irish_Pub/51.0869932 /-114.1268808/','20oz Pours','/images/20ozpour.ong','Kilkenny Irish Pub',"","","5","0","20 Ounce Pours"),51.0869932 ,-114.1268808,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Madrose_Pub/51.1510798 /-114.2103415/','20oz Pours','/images/20ozpour.ong','Madrose Pub',"","","5","0","20 Ounce Pours"),51.1510798 ,-114.2103415,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Oak_Tree_Tavern/51.0529093 /-114.0855357/','20oz Pours','/images/20ozpour.ong','Oak Tree Tavern',"","","5","0","20 Ounce Pours"),51.0529093 ,-114.0855357,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Scotsmans_Well/51.1621568 /-114.1248078/','20oz Pours','/images/20ozpour.ong','Scotsmans Well',"","","5","0","20 Ounce Pours"),51.1621568 ,-114.1248078,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Side_Street_Pub_and_Grill/51.0521173 /-114.0892414/','20oz Pours','/images/20ozpour.ong','Side Street Pub & Grill',"","","5","0","20 Ounce Pours"),51.0521173 ,-114.0892414,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Stavros_Pizza_and_Sports_Bar/51.120774 /-114.179611/','20oz Pours','/images/20ozpour.ong','Stavros Pizza & Sports Bar',"","","5","0","20 Ounce Pours"),51.120774 ,-114.179611,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Cat_`n_Fiddle_Pub/51.0671444 /-114.0737677/','20oz Pours','/images/20ozpour.ong','The Cat `n Fiddle Pub',"","","5","0","20 Ounce Pours"),51.0671444 ,-114.0737677,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Juliet`s_Castle_Sports_Lounge/51.067281 /-114.053785/','20oz Pours','/images/20ozpour.ong','Juliet`s Castle Sports Lounge',"","","5","0","20 Ounce Pours"),51.067281 ,-114.053785,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Toad_N_Turtle_Pubhouse_and_Grill/51.0765616 /-114.0026329/','20oz Pours','/images/20ozpour.ong','Toad N Turtle Pubhouse & Grill',"","","5","0","20 Ounce Pours"),51.0765616 ,-114.0026329,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bear_and_Kilt_Freehouse/51.0456739 /-114.0637285/','20oz Pours','/images/20ozpour.ong','Bear & Kilt Freehouse',"","","5","0","20 Ounce Pours"),51.0456739 ,-114.0637285,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Blanco_Cantina/51.0376006 /-114.0785443/','20oz Pours','/images/20ozpour.ong','Blanco Cantina',"","","5","0","20 Ounce Pours"),51.0376006 ,-114.0785443,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch/50.9626911 /-114.0874801/','20oz Pours','/images/20ozpour.ong','Bull and Finch',"","","5","0","20 Ounce Pours"),50.9626911 ,-114.0874801,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch_Bridlewood_Pub_Restaurant/50.9059455 /-114.1108518/','20oz Pours','/images/20ozpour.ong','Bull & Finch Bridlewood Pub Restaurant',"","","5","0","20 Ounce Pours"),50.9059455 ,-114.1108518,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/City_Pub/51.030137 /-114.142209/','20oz Pours','/images/20ozpour.ong','City Pub',"","","5","0","20 Ounce Pours"),51.030137 ,-114.142209,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Civic_Tavern/51.041355 /-114.0667633/','20oz Pours','/images/20ozpour.ong','Civic Tavern',"","","5","0","20 Ounce Pours"),51.041355 ,-114.0667633,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Coach_and_Horses_Ale_Room/50.9137607 /-114.07228/','20oz Pours','/images/20ozpour.ong','Coach & Horses Ale Room',"","","5","0","20 Ounce Pours"),50.9137607 ,-114.07228,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Joyce_on_4th/51.0316959 /-114.0717222/','20oz Pours','/images/20ozpour.ong','Joyce on 4th',"","","5","0","20 Ounce Pours"),51.0316959 ,-114.0717222,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Limericks_Traditional_Public_House/50.988427 /-114.070813/','20oz Pours','/images/20ozpour.ong','Limericks Traditional Public House',"","","5","0","20 Ounce Pours"),50.988427 ,-114.070813,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Leopold`s_Tavern/51.0413625 /-114.0660805/','20oz Pours','/images/20ozpour.ong','Leopold`s Tavern',"","","5","0","20 Ounce Pours"),51.0413625 ,-114.0660805,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Mad_Rose_Pub_Marda_Loop/51.024213 /-114.1079729/','20oz Pours','/images/20ozpour.ong','Mad Rose Pub Marda Loop',"","","5","0","20 Ounce Pours"),51.024213 ,-114.1079729,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Murdoch`s_Bar_and_Grill/51.036695 /-114.1418418/','20oz Pours','/images/20ozpour.ong','Murdoch`s Bar & Grill',"","","5","0","20 Ounce Pours"),51.036695 ,-114.1418418,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke_on_4th/51.0494192 /-114.0717975/','20oz Pours','/images/20ozpour.ong','Pig and Duke on 4th',"","","5","0","20 Ounce Pours"),51.0494192 ,-114.0717975,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Pig_and_Duke_on_12th/51.0423718 /-114.0916835/','20oz Pours','/images/20ozpour.ong','Pig & Duke on 12th',"","","5","0","20 Ounce Pours"),51.0423718 ,-114.0916835,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Palomino_Smokehouse/51.0463782 /-114.0635917/','20oz Pours','/images/20ozpour.ong','Palomino Smokehouse',"","","5","0","20 Ounce Pours"),51.0463782 ,-114.0635917,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Posto_Pizzeria_and_Bar/51.0435316 /-114.0812472/','20oz Pours','/images/20ozpour.ong','Posto Pizzeria & Bar',"","","5","0","20 Ounce Pours"),51.0435316 ,-114.0812472,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Schooner`s_Neighbourhood_Pub/51.061002 /-114.179684/','20oz Pours','/images/20ozpour.ong','Schooner`s Neighbourhood Pub',"","","5","0","20 Ounce Pours"),51.061002 ,-114.179684,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Stockman`s_Restaurant_and_Lounge/50.8354586 /-114.0013155/','20oz Pours','/images/20ozpour.ong','Stockman`s Restaurant & Lounge',"","","5","0","20 Ounce Pours"),50.8354586 ,-114.0013155,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Swigs_Pub_and_Grill/50.953666 /-114.129619/','20oz Pours','/images/20ozpour.ong','Swigs Pub & Grill',"","","5","0","20 Ounce Pours"),50.953666 ,-114.129619,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Dog_and_Duck_Public_House_and_Restaurant/51.005779 /-114.06825/','20oz Pours','/images/20ozpour.ong','The Dog & Duck Public House and Restaurant',"","","5","0","20 Ounce Pours"),51.005779 ,-114.06825,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Fox_On_6th/51.0461892 /-114.0768579/','20oz Pours','/images/20ozpour.ong','The Fox On 6th',"","","5","0","20 Ounce Pours"),51.0461892 ,-114.0768579,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Ship_and_Anchor/51.0380433 /-114.073592/','20oz Pours','/images/20ozpour.ong','The Ship & Anchor',"","","5","0","20 Ounce Pours"),51.0380433 ,-114.073592,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Unicorn/51.045526 /-114.0668368/','20oz Pours','/images/20ozpour.ong','The Unicorn',"","","5","0","20 Ounce Pours"),51.045526 ,-114.0668368,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Upper_Deck_Public_House/51.048316 /-114.086268/','20oz Pours','/images/20ozpour.ong','Upper Deck Public House',"","","5","0","20 Ounce Pours"),51.048316 ,-114.086268,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Atlas_Pizza_and_Sports_Bar/51.0532278 /-113.9425714/','20oz Pours','/images/20ozpour.ong','Atlas Pizza & Sports Bar',"","","5","0","20 Ounce Pours"),51.0532278 ,-113.9425714,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Bull_and_Finch_Neighborhood_Pub/50.9524727 /-113.9985903/','20oz Pours','/images/20ozpour.ong','Bull and Finch Neighborhood Pub',"","","5","0","20 Ounce Pours"),50.9524727 ,-113.9985903,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Dixon`s_Public_House/50.9146191 /-114.0662323/','20oz Pours','/images/20ozpour.ong','Dixon`s Public House',"","","5","0","20 Ounce Pours"),50.9146191 ,-114.0662323,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/King_Eddy/51.0444525 /-114.053414/','20oz Pours','/images/20ozpour.ong','King Eddy',"","","5","0","20 Ounce Pours"),51.0444525 ,-114.053414,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Southland_Yard_Bar_and_Table/50.9644541 /-114.0692117/','20oz Pours','/images/20ozpour.ong','Southland Yard Bar and Table',"","","5","0","20 Ounce Pours"),50.9644541 ,-114.0692117,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/The_Tommyfield_Gastro_Pub/50.879765 /-113.9590696/','20oz Pours','/images/20ozpour.ong','The Tommyfield Gastro Pub',"","","5","0","20 Ounce Pours"),50.879765 ,-113.9590696,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
[locationDatamini('/noticed_venue/Toad_`N`_Turtle/50.9308283/-113.9619836/','20oz Pours','/images/20ozpour.ong','Toad `N` Turtle',"","","5","0","20 Ounce Pours"),50.9308283,-113.9619836,4,{ anchor: new google.maps.Point(22,16),url: 'http://yycbeer.ca/mapicons/20ozbeer.png' }],
];
var i=0;
for (i = 0; i < minilocs.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(minilocs[i][1],minilocs[i][2]),
icon: minilocs[i][4],
map: single_map
});
allMarkersMin.push(marker);
var ib = new InfoBox();
google.maps.event.addListener(ib,"domready",function () {
cardRaining()
});
google.maps.event.addListener(marker,'click',(function (marker,i) {
return function () {
ib.setOptions(boxOptions);
boxText.innerHTML = minilocs[i][0];
ib.close();
ib.open(single_map,marker);
currentInfobox = marker.id;
var latLng = new google.maps.LatLng(minilocs[i][1],minilocs[i][2]);
single_map.panTo(latLng);
single_map.panBy(0,-180);
google.maps.event.addListener(ib,'domready',function () {
$('.infoBox-close').click(function (e) {
e.preventDefault();
ib.close();
});
});
}
})(marker,i));
}
var zoomControlDiv = document.createElement('div');
var zoomControl = new ZoomControl(zoomControlDiv,single_map);
function ZoomControl(controlDiv,single_map) {
zoomControlDiv.index = 1;
single_map.controls[google.maps.ControlPosition.RIGHT_CENTER].push(zoomControlDiv);
controlDiv.style.padding = '5px';
var controlWrapper = document.createElement('div');
controlDiv.appendChild(controlWrapper);
var zoomInButton = document.createElement('div');
zoomInButton.className = "mapzoom-in";
controlWrapper.appendChild(zoomInButton);
var zoomOutButton = document.createElement('div');
zoomOutButton.className = "mapzoom-out";
controlWrapper.appendChild(zoomOutButton);
google.maps.event.addDomListener(zoomInButton,'click',function () {
single_map.setZoom(single_map.getZoom() + 1);
});
google.maps.event.addDomListener(zoomOutButton,'click',function () {
single_map.setZoom(single_map.getZoom() - 1);
});
}
}
var single_map = document.getElementById('singleMap');
if (typeof (single_map) != 'undefined' && single_map != null) {
google.maps.event.addDomListener(window,'load',singleMap);
}
})(this.jQuery);
var coordPropName = null;
function injectTooltip(event,data,x,y){
if(!tipObj && event){
//create the tooltip object
tipObj = document.createElement("div");
tipObj.style.width = '100px';
tipObj.style.height = '40px';
tipObj.style.background = "white";
tipObj.style.borderRadius = "5px";
tipObj.style.padding = "10px";
tipObj.style.fontFamily = "Arial,Helvetica";
tipObj.style.textAlign = "center";
tipObj.innerHTML = data;
console.log('tip attempt');
//fix for the version issue
eventPropNames = Object.keys(event);
if(!coordPropName){
//discover the name of the prop with MouseEvent
console.log(eval(Object.keys));
console.log(Object.keys("va"));
for(var i in eventPropNames){
var name = eventPropNames[i];
console.log(name);
if(event[name] instanceof MouseEvent){
coordPropName = name;
console.log("--> mouse event in",coordPropName)
break;
}
}
}
tipObj.style.zIndex = "8";
if(coordPropName){
//position it
console.log('propname='+coordPropName);
tipObj.style.position = "fixed";
tipObj.style.top = event[coordPropName].clientY + window.scrollY + offset.y + "px";
tipObj.style.left = event[coordPropName].clientX + window.scrollX + offset.x + "px";
//add it to the body
document.body.appendChild(tipObj);
}else {
tipObj.style.position = "fixed";
tipObj.style.top = y + "px";
tipObj.style.left = x + "px";
document.body.appendChild(tipObj);
console.log(x+' x '+y);
console.log(tipObj);
}
}
}
/********************************************************************
* moveTooltip(e)
* update the position of the tooltip based on the event data
********************************************************************/
function moveTooltip(event){
if(tipObj && event && coordPropName){
//position it
tipObj.style.top = event[coordPropName].clientY + window.scrollY + offset.y + "px";
tipObj.style.left = event[coordPropName].clientX + window.scrollX + offset.x + "px";
}
}
/********************************************************************
* deleteTooltip(e)
* delete the tooltip if it exists in the DOM
********************************************************************/
function deleteTooltip(event){
if(tipObj){
//delete the tooltip if it exists in the DOM
document.body.removeChild(tipObj);
tipObj = null;
}
}
function handler(e) {
e = e || window.event;
var pageX = e.pageX;
var pageY = e.pageY;
// IE 8
if (pageX === undefined) {
pageX = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
pageY = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
}
console.log(pageX,pageY);
}
// attach handler to the click event of the document
if (document.attachEvent) document.attachEvent('mousemove',handler);
else document.addEventListener('mousemove',handler);
//