/**** * IMPORTANT! PLEASE READ! * * The informamation contained in this file is the property of Essence Montreal. * To remain in accordance with this website's Terms and Conditions (the "Terms"), * you may not, copy, store, reproduce, reuse, sell, redistribute or republish any * information found on this page or found anywhere else on this website. * * The use of any of the information from this page or anywhere else on this website * for any use outside of the website's functionality is stricly prohibited. * * You may review our Terms here: * https://www.essencemontreal.com/terms.php?l=f * ****/ function mapload() { var latlng = new google.maps.LatLng(45.433375, -73.166243); var myOptions = { zoom: 10, center: latlng, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.ZOOM_PAN}, mapTypeControl: true, //streetViewControl: true, scaleControl: false, scrollwheel: false, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("stationmap"), myOptions); infoWindow = new google.maps.InfoWindow(); setMarkers(map, stations); } /** * Data for the markers */ var stations = [ [45.593169, -73.185226, 'red', '175.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Thu, 13 Jun 2024 16:23'], [45.551408, -73.216439, 'red', '172.9 ¢/Litre
Boul. Laurier, route 116
Mont-Saint-Hilaire
Thu, 13 Jun 2024 00:03'], [45.342316, -72.783502, 'red', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 11 Jun 2024 10:30'], [45.329043, -72.817201, 'red', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 11 Jun 2024 10:30'], [45.567869, -73.522612, 'red', '171.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Tue, 11 Jun 2024 13:37'], [45.520053, -73.318720, 'red', '171.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Tue, 11 Jun 2024 13:47'], [45.464810, -73.585022, 'blue', '170.9 ¢/Litre
La Verendrye / De l’Église
Le Sud-Ouest
Tue, 11 Jun 2024 13:49'], [45.595107, -73.511586, 'blue', '170.9 ¢/Litre
Notre-Dame / St Donat
Hochelaga-Maisonneuve
Tue, 11 Jun 2024 13:37'], [45.452430, -73.301341, 'blue', '169.9 ¢/Litre
930 Périgny / Brassard
Chambly
Tue, 11 Jun 2024 13:46'], [45.434691, -73.291560, 'blue', '169.9 ¢/Litre
Kennedy / Fréchette
Chambly
Tue, 11 Jun 2024 13:47'], [45.413699, -72.752454, 'blue', '169.9 ¢/Litre
Principale / Simonds S
Granby
Tue, 11 Jun 2024 13:29'], [45.399642, -72.741639, 'blue', '169.9 ¢/Litre
Robinson / Notre Dame
Granby
Tue, 11 Jun 2024 13:30'], [45.407098, -72.740847, 'blue', '169.9 ¢/Litre
Principale / Breton
Granby
Tue, 11 Jun 2024 13:30'], [45.333285, -73.294644, 'blue', '169.9 ¢/Litre
Omer-Marcil / Alexis Lebert
Saint-Jean-sur-Richelieu
Fri, 14 Jun 2024 03:42'], [45.432669, -73.306230, 'blue', '169.9 ¢/Litre
1490 Boulevard Brassard
Chambly
Tue, 11 Jun 2024 13:46'], [45.563185, -73.206182, 'blue', '169.9 ¢/Litre
coin Duvernay, route 116
Beloeil
Thu, 13 Jun 2024 00:10'], [45.454187, -73.301763, 'blue', '169.3 ¢/Litre
875 Périgny / St-Joseph
Chambly
Tue, 11 Jun 2024 13:45'], [45.447754, -73.291977, 'blue', '169.3 ¢/Litre
Périgny / Salaberry
Chambly
Tue, 11 Jun 2024 13:45'], [45.536265, -73.513074, 'blue', '168.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Tue, 11 Jun 2024 11:30'], [45.547614, -73.206221, 'blue', '168.9 ¢/Litre
539 Chemin des Patriotes
Otterburn Park
Thu, 13 Jun 2024 00:08'], [45.567408, -73.406653, 'blue', '168.9 ¢/Litre
Montarville / Eifel
Boucherville
Tue, 11 Jun 2024 13:36'], [45.512580, -73.499581, 'blue', '168.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Tue, 11 Jun 2024 11:30'], [45.313099, -73.228636, 'blue', 'Pétroles Trudo - 167.9 ¢/Litre
Rte 104
Mont-Saint-Grégoire
Tue, 11 Jun 2024 13:34'], [45.542277, -73.187736, 'blue', '167.9 ¢/Litre
511 Chemin Ozias Leduc
Otterburn Park
Thu, 13 Jun 2024 16:24'], [45.467640, -73.538519, 'blue', '167.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Thu, 13 Jun 2024 14:37'], [45.542741, -73.186994, 'blue', '167.9 ¢/Litre
459 Chemin Ozias Leduc
Otterburn Park
Thu, 13 Jun 2024 00:07'], [45.506039, -73.430198, 'blue', '166.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Tue, 11 Jun 2024 11:30'], [45.496989, -73.447439, 'blue', '166.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 11 Jun 2024 11:30'], [45.342527, -73.302757, 'blue', '165.9 ¢/Litre
Rue Bernier / Rue Pierre-Brosseau
Saint-Jean-sur-Richelieu
Tue, 11 Jun 2024 13:44'], [45.542277, -73.187736, 'blue', '165.9 ¢/Litre
511 Chemin Ozias-Leduc
Otterburn Park
Thu, 13 Jun 2024 00:06'], [45.456332, -73.415714, 'blue', '164.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 11 Jun 2024 13:40'], [45.458885, -73.419335, 'blue', '164.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 11 Jun 2024 13:41'], [45.514231, -73.132863, 'blue', '164.9 ¢/Litre
Principale / Rouville
Saint-Jean-Baptiste
Thu, 13 Jun 2024 00:02'], [45.306225, -73.283867, 'green', '163.9 ¢/Litre
Industriel/St Jacques
Saint-Jean-sur-Richelieu
Fri, 14 Jun 2024 03:43'], [45.314787, -73.264700, 'green', '163.9 ¢/Litre
Séminaire / St-Joseph
Saint-Jean-sur-Richelieu
Fri, 14 Jun 2024 03:44'], [45.606363, -73.103125, 'green', '161.9 ¢/Litre
5 rue St Simon/auto 20/sortie 120
Sainte-Madeleine
Thu, 13 Jun 2024 16:23'], [45.576935, -73.327703, 'green', '161.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 11 Jun 2024 13:36'], [45.576824, -73.327727, 'green', '161.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 11 Jun 2024 13:35'], [45.522034, -73.464228, 'green', '160.9 ¢/Litre
2720 Ch.de Chambly/Bl Jacques Cartier
Longueuil
Thu, 13 Jun 2024 17:49'], [45.352015, -73.293630, 'green', '159.9 ¢/Litre
St-Luc / Bernier / des Échevins
Saint-Jean-sur-Richelieu
Tue, 11 Jun 2024 11:30'], [45.434650, -73.480101, 'green', 'Costco - 159.9 ¢/Litre
9430 Boulevard Taschereau, Brossard
Brossard
Tue, 11 Jun 2024 14:30'], [45.577602, -73.405821, 'green', 'Costco - 159.9 ¢/Litre
635 ch de Touraine
Boucherville
Wed, 12 Jun 2024 11:28'], [45.486768, -73.551440, 'green', 'Costco - 159.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 11 Jun 2024 13:48'], [45.355527, -73.297120, 'green', '158.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Tue, 11 Jun 2024 13:43'], [45.351623, -73.292885, 'green', 'Pétrole Maurice - 157.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Tue, 11 Jun 2024 11:30']]; function setMarkers(map, locations) { // Add markers to the map var redicon = new google.maps.MarkerImage('https://www.essencemontreal.com/images/map/redmarker.png', new google.maps.Size(20, 32), new google.maps.Point(0,0), new google.maps.Point(0, 32)); var blueicon = new google.maps.MarkerImage('https://www.essencemontreal.com/images/map/bluemarker.png', new google.maps.Size(20, 32), new google.maps.Point(0,0), new google.maps.Point(0, 32)); var greenicon = new google.maps.MarkerImage('https://www.essencemontreal.com/images/map/greenmarker.png', new google.maps.Size(20, 32), new google.maps.Point(0,0), new google.maps.Point(0, 32)); var shadow = new google.maps.MarkerImage('https://www.essencemontreal.com/images/map/shadow50.png', new google.maps.Size(37, 32), new google.maps.Point(0,0), new google.maps.Point(0, 32)); var shape = { coord: [1, 1, 1, 20, 18, 20, 18 , 1], type: 'poly' }; for (var i = 0; i < locations.length; i++) { var stn = locations[i]; if(stn[2] == "red") {iconcolor = redicon;} else if(stn[2] == "green") {iconcolor = greenicon;} else if(stn[2] == "blue") {iconcolor = blueicon; } var myLatLng = new google.maps.LatLng(stn[0], stn[1]); eval("var marker"+i+" = new google.maps.Marker({position: myLatLng, map: map,shadow: shadow, icon: iconcolor, shape: shape});"); eval("google.maps.event.addListener(marker"+i+", 'click', function() {infoWindow.setContent(locations["+i+"][3]); infoWindow.open(map, marker"+i+");});"); } }