/****
* 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.466709, -73.266244);
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.435143, -73.476495, 'red', '179.9 ¢/Litre
Taschereau / Matte
Brossard
Sat, 11 May 2024 11:00'],
[45.524679, -73.338112, 'red', '179.9 ¢/Litre
Montarville / Seigneurial
Saint-Bruno-de-Montarville
Sat, 11 May 2024 14:06'],
[45.557828, -73.231701, 'red', '179.9 ¢/Litre
Bernard-Pilon / Yvon-LHeureux
McMasterville
Sun, 12 May 2024 11:30'],
[45.495759, -73.610051, 'red', '179.9 ¢/Litre
Cote-des-Neiges / Ridgewood
Côte-des-Neiges
Sun, 12 May 2024 13:17'],
[45.467640, -73.538519, 'red', '178.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Sun, 12 May 2024 09:56'],
[45.511796, -73.439486, 'red', '178.9 ¢/Litre
Chambly / Vauquelin
Saint-Hubert
Sat, 11 May 2024 14:04'],
[45.435239, -73.489912, 'red', '178.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Sat, 11 May 2024 11:00'],
[45.562421, -73.188442, 'red', '177.9 ¢/Litre
324 sir-wilfrid-laurier
Mont-Saint-Hilaire
Sat, 11 May 2024 14:05'],
[45.562616, -73.188010, 'red', '177.9 ¢/Litre
328 Boul Sir-Wilfrid-Laurier / Radisson
Mont-Saint-Hilaire
Sat, 11 May 2024 14:06'],
[45.456673, -73.492141, 'red', '177.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Sat, 11 May 2024 11:30'],
[45.457416, -73.492229, 'red', '177.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Sat, 11 May 2024 11:30'],
[45.470898, -73.496523, 'red', '177.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Sat, 11 May 2024 11:30'],
[45.470437, -73.495625, 'red', '177.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Sat, 11 May 2024 11:30'],
[45.443962, -73.246705, 'blue', '176.9 ¢/Litre
510 Blvd Richelieu / Ch des Patriotes
Richelieu
Sun, 12 May 2024 13:24'],
[45.497098, -73.624101, 'blue', '176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Sun, 12 May 2024 13:16'],
[45.463450, -73.578391, 'blue', '176.9 ¢/Litre
1125 Ave de lEglise & Rue Cool
Verdun
Sun, 12 May 2024 13:15'],
[45.562727, -73.206394, 'blue', '176.9 ¢/Litre
Sir Wilfrid Laurier / Duvernay
Beloeil
Sun, 12 May 2024 13:22'],
[45.408875, -73.472737, 'blue', '176.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Sun, 12 May 2024 13:20'],
[45.506377, -73.484821, 'blue', '176.9 ¢/Litre
Nobert / Jacques-Cartier
Longueuil
Sun, 12 May 2024 13:21'],
[45.501483, -73.423506, 'blue', '176.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Sun, 12 May 2024 13:21'],
[45.562847, -73.224587, 'blue', '176.9 ¢/Litre
235 Blvd Yvon-lHeureux Nord
Beloeil
Sun, 12 May 2024 11:30'],
[45.454885, -73.465571, 'blue', '176.9 ¢/Litre
Taschereau / Rome
Brossard
Sun, 12 May 2024 13:22'],
[45.494571, -73.500633, 'blue', '176.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Sun, 12 May 2024 13:22'],
[45.549520, -73.219972, 'blue', '176.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Sun, 12 May 2024 11:30'],
[45.582704, -73.426126, 'blue', '176.9 ¢/Litre
Montarville / Normandie
Boucherville
Sun, 12 May 2024 13:09'],
[45.598981, -73.447627, 'blue', '176.9 ¢/Litre
Samuel de Champlain / Montarville
Boucherville
Sun, 12 May 2024 13:10'],
[45.483866, -73.579463, 'blue', '176.9 ¢/Litre
Atwater / St Jacques
Le Sud-Ouest
Sun, 12 May 2024 13:17'],
[45.547999, -73.495463, 'blue', '176.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Sun, 12 May 2024 11:00'],
[45.595021, -73.576689, 'blue', '176.9 ¢/Litre
Aut 40 / Langelier
Saint-Leonard
Sat, 11 May 2024 12:30'],
[45.542687, -73.455710, 'blue', '176.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Sat, 11 May 2024 13:00'],
[45.287199, -72.992513, 'blue', '175.9 ¢/Litre
Principale (Rte 104) / Rte 235
Farnham
Sun, 12 May 2024 13:37'],
[45.287357, -72.997668, 'blue', '175.9 ¢/Litre
Rue principale.
Farnham
Sun, 12 May 2024 13:38'],
[45.496989, -73.447439, 'blue', '175.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Sat, 11 May 2024 13:50'],
[45.502445, -73.426215, 'blue', '175.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Sun, 12 May 2024 13:19'],
[45.414839, -73.485305, 'blue', '175.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Sun, 12 May 2024 11:30'],
[45.506039, -73.430198, 'blue', '175.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Sat, 11 May 2024 13:50'],
[45.458904, -73.419386, 'blue', '175.9 ¢/Litre
Grande-Allée / Du Quartier
Brossard
Sat, 11 May 2024 13:52'],
[45.322200, -73.063544, 'blue', '175.9 ¢/Litre
Principale / Rte 104 / de la Rivière E
Sainte-Brigide-dIberville
Sun, 12 May 2024 13:39'],
[45.496541, -73.484126, 'blue', '175.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Sat, 11 May 2024 11:30'],
[45.458885, -73.419335, 'blue', '175.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Sat, 11 May 2024 13:52'],
[45.464810, -73.585022, 'blue', '175.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Sat, 11 May 2024 14:00'],
[45.462287, -73.453165, 'blue', '174.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Sun, 12 May 2024 11:30'],
[45.479275, -73.465158, 'blue', '174.9 ¢/Litre
Taschereau / Angèle
Brossard
Sun, 12 May 2024 13:18'],
[45.481980, -73.464589, 'blue', '174.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Sun, 12 May 2024 13:18'],
[45.470785, -73.468103, 'blue', '174.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Sun, 12 May 2024 13:18'],
[45.643553, -73.513845, 'blue', '173.9 ¢/Litre
Sherbrooke E / St-Jean Baptiste
Pointe-aux-Trembles
Sat, 11 May 2024 14:01'],
[45.607988, -73.584409, 'blue', 'Costco - 173.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Sat, 11 May 2024 11:00'],
[45.536768, -73.499334, 'green', 'Super Gaz - 172.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Sun, 12 May 2024 13:11'],
[45.577050, -73.403659, 'green', 'Costco - 171.9 ¢/Litre
635 ch de Touraine
Boucherville
Sun, 12 May 2024 13:10'],
[45.470851, -73.564091, 'green', '171.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Sat, 11 May 2024 21:09'],
[45.433637, -73.477474, 'green', 'Costco - 171.9 ¢/Litre
Taschereau / Matte
Brossard
Sun, 12 May 2024 13:15'],
[45.475037, -73.358947, 'green', 'Pétrole Maurice - 169.9 ¢/Litre
Chemin Chambly / Montée Daniel
Saint-Hubert
Sun, 12 May 2024 13:27'],
[45.686705, -73.432357, 'green', '169.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Fri, 10 May 2024 16:57'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 169.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Fri, 10 May 2024 16:56'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 169.9 ¢/Litre
8855 ch chambly
Longuueil
Fri, 10 May 2024 16:56'],
[45.439112, -73.190249, 'green', 'Pétrole Maurice - 169.9 ¢/Litre
chemin chambly
Saint-Hubert
Fri, 10 May 2024 16:56'],
[45.365866, -72.933780, 'green', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 12 May 2024 13:38'],
[45.364946, -72.934102, 'green', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 12 May 2024 13:39'],
[45.362059, -72.934853, 'green', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 12 May 2024 13:39'],
[45.371582, -73.515440, 'green', 'Costco - 169.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Sat, 11 May 2024 13:55'],
[45.486768, -73.551440, 'green', 'Costco - 169.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Sun, 12 May 2024 13:14'],
[45.355527, -73.297120, 'green', '169.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Sun, 12 May 2024 13:26'],
[45.485789, -73.553621, 'green', 'Costco - 169.9 ¢/Litre
300, rue Bridge
Montréal
Sun, 12 May 2024 12:01'],
[45.475969, -73.361190, 'green', 'Pétrole Maurice - 169.9 ¢/Litre
Chambly / Daniel
Saint-Hubert
Fri, 10 May 2024 16:56'],
[45.432706, -73.646336, 'green', '169.9 ¢/Litre
Lafleur / Clément
LaSalle
Sat, 11 May 2024 13:00'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 166.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Sun, 12 May 2024 13:26']];
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+");});");
}
}