/****
* 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.43263, -73.160204);
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.673873, -73.434521, 'red', '179.9 ¢/Litre
De Lacqueduc
Varennes
Sun, 26 May 2024 20:44'],
[45.375490, -73.368060, 'red', '179.9 ¢/Litre
1115 Blvd Saint-Luc/des Pins
Saint-Philippe
Sun, 26 May 2024 11:15'],
[45.435143, -73.476495, 'red', '179.9 ¢/Litre
Taschereau / Matte
Brossard
Sun, 26 May 2024 11:12'],
[45.596103, -73.235498, 'red', '177.9 ¢/Litre
2090 rue Saint-Jean-Baptiste & rue de lIndustrie
Saint-Mathieu-de-Beloeil
Sun, 26 May 2024 11:32'],
[45.568999, -73.443687, 'red', '177.9 ¢/Litre
Nobel / Volta
Boucherville
Mon, 27 May 2024 20:00'],
[45.591175, -73.525419, 'red', '177.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Sun, 26 May 2024 11:14'],
[45.322200, -73.063544, 'red', '176.9 ¢/Litre
Principale / Rte 104 / de la Rivière E
Sainte-Brigide-dIberville
Sun, 26 May 2024 11:56'],
[45.393981, -72.710634, 'blue', '174.9 ¢/Litre
Denison E / Glen
Granby
Sun, 26 May 2024 11:36'],
[45.393111, -72.681688, 'blue', 'Irving - 174.9 ¢/Litre
Denison / Lemieux
Granby
Sun, 26 May 2024 11:35'],
[45.425325, -72.807918, 'blue', '174.9 ¢/Litre
rue principale
Saint-Paul-dAbbotsford
Sun, 26 May 2024 11:55'],
[45.407098, -72.740847, 'blue', '174.9 ¢/Litre
Principale / Breton
Granby
Sun, 26 May 2024 11:36'],
[45.494571, -73.500633, 'blue', '174.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Sun, 26 May 2024 20:48'],
[45.467640, -73.538519, 'blue', '174.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Tue, 28 May 2024 05:20'],
[45.420024, -73.486377, 'blue', '174.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Mon, 27 May 2024 22:51'],
[45.414839, -73.485305, 'blue', '174.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Mon, 27 May 2024 22:51'],
[45.441121, -73.442392, 'blue', '174.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Mon, 27 May 2024 22:50'],
[45.413699, -72.752454, 'blue', '174.9 ¢/Litre
Principale / Simonds S
Granby
Sun, 26 May 2024 11:35'],
[45.414653, -72.718391, 'blue', '174.9 ¢/Litre
Dufferin (coin Bourget)
Granby
Sun, 26 May 2024 11:34'],
[45.576640, -73.446699, 'blue', '174.9 ¢/Litre
Mortagne / Parfondeval
Boucherville
Sun, 26 May 2024 11:11'],
[45.443962, -73.246705, 'blue', '174.9 ¢/Litre
510 Blvd Richelieu / Ch des Patriotes
Richelieu
Sun, 26 May 2024 11:29'],
[45.477996, -73.386635, 'blue', '174.9 ¢/Litre
Cousineau / Aut 30
Saint-Hubert
Sun, 26 May 2024 11:30'],
[45.465169, -73.345462, 'blue', '174.9 ¢/Litre
1499 Ch de Chambly / Cousineau
Carignan
Sun, 26 May 2024 09:30'],
[45.452638, -73.301521, 'blue', '174.9 ¢/Litre
Périgny / Brassard / Larivière
Chambly
Sun, 26 May 2024 11:31'],
[45.579334, -73.447128, 'blue', '174.9 ¢/Litre
Mortagne / Industriel
Boucherville
Sun, 26 May 2024 11:11'],
[45.575375, -73.446954, 'blue', '174.9 ¢/Litre
Mortagne / Ampére
Boucherville
Sun, 26 May 2024 11:11'],
[45.287357, -72.997668, 'blue', '173.9 ¢/Litre
Rue principale.
Farnham
Sun, 26 May 2024 11:39'],
[45.287199, -72.992513, 'blue', '173.9 ¢/Litre
Principale (Rte 104) / Rte 235
Farnham
Sun, 26 May 2024 11:38'],
[45.313099, -73.228636, 'blue', 'Pétroles Trudo - 173.9 ¢/Litre
Rte 104
Mont-Saint-Grégoire
Sun, 26 May 2024 11:54'],
[45.408875, -73.472737, 'blue', '172.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 27 May 2024 22:49'],
[45.582704, -73.426126, 'blue', '172.9 ¢/Litre
Montarville / Normandie
Boucherville
Mon, 27 May 2024 20:30'],
[45.342316, -72.783502, 'blue', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Mon, 27 May 2024 20:00'],
[45.329043, -72.817201, 'blue', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Mon, 27 May 2024 20:00'],
[45.501483, -73.423506, 'blue', '171.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Sun, 26 May 2024 11:25'],
[45.456332, -73.415714, 'blue', '170.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 28 May 2024 17:56'],
[45.455084, -73.443046, 'blue', '170.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Mon, 27 May 2024 20:00'],
[45.598981, -73.447627, 'blue', '170.9 ¢/Litre
Samuel de Champlain / Montarville
Boucherville
Mon, 27 May 2024 21:00'],
[45.362059, -72.934853, 'blue', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 26 May 2024 11:41'],
[0.000000, 0.000000, 'blue', '169.9 ¢/Litre
Rte 235 - Sortie 55 Aut 10
LAnge-Gardien (Montérégie)
Sun, 26 May 2024 11:00'],
[45.362053, -73.307166, 'blue', '169.9 ¢/Litre
St-Luc / Bélair
Saint-Jean-sur-Richelieu
Sun, 26 May 2024 11:29'],
[45.364946, -72.934102, 'blue', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 26 May 2024 11:40'],
[45.365866, -72.933780, 'blue', '169.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Sun, 26 May 2024 10:30'],
[45.377717, -73.373281, 'blue', '169.9 ¢/Litre
1149 Boul.St-Luc / Ruisseau Desnoyers
Saint-Jean-sur-Richelieu
Sun, 26 May 2024 11:28'],
[45.549520, -73.219972, 'blue', '169.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Sun, 26 May 2024 09:30'],
[45.522034, -73.464228, 'blue', '169.9 ¢/Litre
2720, Ch.Chambly/Bl.Jacques Cartier
Longueuil
Mon, 27 May 2024 14:04'],
[45.547999, -73.495463, 'green', '168.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Sun, 26 May 2024 11:17'],
[45.521714, -73.463444, 'green', '168.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Sun, 26 May 2024 09:30'],
[45.511796, -73.439486, 'green', '168.9 ¢/Litre
Chambly / Vauquelin
Saint-Hubert
Sun, 26 May 2024 20:47'],
[45.538301, -73.480087, 'green', '168.9 ¢/Litre
Rolland Therrien / Du Lac
Longueuil
Sun, 26 May 2024 11:17'],
[45.433963, -73.477284, 'green', 'Costco - 167.9 ¢/Litre
9430 Boulevard Taschereau
Brossard
Tue, 28 May 2024 17:52'],
[45.433637, -73.477474, 'green', 'Costco - 167.9 ¢/Litre
Taschereau / Matte
Brossard
Mon, 27 May 2024 20:30'],
[45.371582, -73.515440, 'green', 'Costco - 166.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Sun, 26 May 2024 11:21'],
[45.685654, -73.439079, 'green', '166.9 ¢/Litre
Marie-Victorin
Varennes
Mon, 27 May 2024 16:05'],
[45.352015, -73.293630, 'green', '166.9 ¢/Litre
St-Luc / Bernier / des Échevins
Saint-Jean-sur-Richelieu
Sun, 26 May 2024 11:28'],
[45.355527, -73.297120, 'green', '166.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Sun, 26 May 2024 11:27'],
[45.515478, -73.490700, 'green', '166.9 ¢/Litre
Curé Poirier / Ste-Hélène
Longueuil
Sun, 26 May 2024 18:30'],
[45.522034, -73.464228, 'green', '166.9 ¢/Litre
2720 Ch.de Chambly/Bl Jacques Cartier
Longueuil
Sun, 26 May 2024 15:46'],
[45.475037, -73.358947, 'green', 'Pétrole Maurice - 165.9 ¢/Litre
Chemin Chambly / Montée Daniel
Saint-Hubert
Sun, 26 May 2024 11:27'],
[45.486768, -73.551440, 'green', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Mon, 27 May 2024 21:00'],
[45.577050, -73.403659, 'green', 'Costco - 163.9 ¢/Litre
635 ch de Touraine
Boucherville
Mon, 27 May 2024 21:00'],
[45.577602, -73.405821, 'green', 'Costco - 163.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 28 May 2024 08:58'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Sun, 26 May 2024 11: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+");});");
}
}