/****
* 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.305772, -73.254490);
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.435239, -73.489912, 'red', '176.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Mon, 24 Jun 2024 10:30'],
[0.000000, 0.000000, 'red', '176.9 ¢/Litre
2019 ROUTE 112
Saint-Césaire
Tue, 25 Jun 2024 16:38'],
[45.506039, -73.430198, 'red', '176.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Mon, 24 Jun 2024 22:53'],
[45.454439, -73.465418, 'red', '176.9 ¢/Litre
Taschereau / Rome
Brossard
Tue, 25 Jun 2024 16:19'],
[45.497098, -73.624101, 'red', '176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Tue, 25 Jun 2024 16:30'],
[45.486616, -73.636535, 'red', '176.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Tue, 25 Jun 2024 16:29'],
[45.474096, -73.609107, 'red', '175.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 24 Jun 2024 12:56'],
[45.435143, -73.476495, 'red', '175.9 ¢/Litre
Taschereau / Matte
Brossard
Mon, 24 Jun 2024 23:12'],
[45.593169, -73.185226, 'red', '175.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Tue, 25 Jun 2024 16:13'],
[45.494571, -73.500633, 'red', '175.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Mon, 24 Jun 2024 21:30'],
[45.512580, -73.499581, 'red', '175.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Sun, 23 Jun 2024 19:29'],
[45.467640, -73.538519, 'red', '175.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Mon, 24 Jun 2024 21:39'],
[45.567928, -73.450352, 'red', '175.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Mon, 24 Jun 2024 11:30'],
[45.420024, -73.486377, 'red', '175.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Mon, 24 Jun 2024 21:30'],
[45.496989, -73.447439, 'red', '174.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Mon, 24 Jun 2024 23:09'],
[45.593169, -73.185226, 'red', '174.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Tue, 25 Jun 2024 16:14'],
[45.486054, -73.633837, 'red', '173.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Tue, 25 Jun 2024 16:29'],
[45.485007, -73.632753, 'red', '173.9 ¢/Litre
Decarie / Isabella
Côte-des-Neiges
Tue, 25 Jun 2024 16:28'],
[45.408875, -73.472737, 'red', '173.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 24 Jun 2024 23:11'],
[45.453096, -73.584039, 'blue', '172.9 ¢/Litre
Woodland / de la Verendrye
Le Sud-Ouest
Mon, 24 Jun 2024 23:14'],
[45.432706, -73.646336, 'blue', '172.9 ¢/Litre
Lafleur / Clément
LaSalle
Tue, 25 Jun 2024 16:27'],
[45.493583, -73.479229, 'blue', '172.9 ¢/Litre
Taschereau/Georges
Greenfield Park
Sun, 23 Jun 2024 19:35'],
[45.432549, -73.628853, 'blue', '172.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Tue, 25 Jun 2024 16:27'],
[45.436609, -73.625192, 'blue', '172.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.439289, -73.621925, 'blue', '172.9 ¢/Litre
Lapierre / Newman
LaSalle
Tue, 25 Jun 2024 16:28'],
[45.441121, -73.442392, 'blue', '172.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Mon, 24 Jun 2024 23:11'],
[45.523409, -73.554148, 'blue', '172.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Mon, 24 Jun 2024 23:08'],
[45.520053, -73.318720, 'blue', '171.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 16:41'],
[45.528552, -73.290176, 'blue', '171.9 ¢/Litre
Des Trinitaires / Sir Wilfrid Laurier
Saint-Basile-le-Grand
Tue, 25 Jun 2024 16:40'],
[45.523773, -73.302032, 'blue', '171.9 ¢/Litre
Millenaire / Sir-Wilfrid-Laurier / Rte 116
Saint-Basile-le-Grand
Tue, 25 Jun 2024 16:41'],
[45.414839, -73.485305, 'blue', '171.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Mon, 24 Jun 2024 23:10'],
[45.496101, -73.513824, 'blue', '171.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Mon, 24 Jun 2024 21:30'],
[45.540392, -73.368003, 'blue', '170.9 ¢/Litre
Montarville / Parent / Aut 30 (Sortie 121)
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 16:08'],
[45.455084, -73.443046, 'blue', '169.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 25 Jun 2024 16:16'],
[45.431217, -73.618933, 'blue', '169.9 ¢/Litre
Shevchencko / Jean-Brillon
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.421724, -73.635371, 'blue', '169.9 ¢/Litre
Airlie / 80e Ave
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.571289, -73.177673, 'blue', '169.9 ¢/Litre
Sir Wilfrid Laurier / Bernard
Mont-Saint-Hilaire
Tue, 25 Jun 2024 16:12'],
[45.562616, -73.188010, 'blue', '169.9 ¢/Litre
328 Boul Sir-Wilfrid-Laurier / Radisson
Mont-Saint-Hilaire
Tue, 25 Jun 2024 16:13'],
[45.432634, -73.637114, 'blue', '169.9 ¢/Litre
Dollard / Bédard
LaSalle
Tue, 25 Jun 2024 16:25'],
[45.549520, -73.219972, 'blue', '169.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Tue, 25 Jun 2024 16:10'],
[45.562421, -73.188442, 'blue', '169.9 ¢/Litre
324 sir-wilfrid-laurier
Mont-Saint-Hilaire
Tue, 25 Jun 2024 16:11'],
[45.520131, -73.318072, 'blue', '169.9 ¢/Litre
De Boucherville / 116
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 16:40'],
[45.494954, -73.481755, 'blue', '169.9 ¢/Litre
Tashereau / Churchill
Greenfield Park
Mon, 24 Jun 2024 13:13'],
[45.287199, -72.992513, 'blue', '169.9 ¢/Litre
Principale (Rte 104) / Rte 235
Farnham
Mon, 24 Jun 2024 11:00'],
[45.476955, -73.429460, 'blue', '169.9 ¢/Litre
Gaétan Boucher / Payer
Saint-Hubert
Mon, 24 Jun 2024 12:46'],
[45.438019, -73.043068, 'blue', '169.9 ¢/Litre
Grande-Caroline / Pierre Préfontaine
Rougemont
Tue, 25 Jun 2024 16:36'],
[45.562847, -73.224587, 'blue', '168.9 ¢/Litre
235 Blvd Yvon-lHeureux Nord
Beloeil
Mon, 24 Jun 2024 12:48'],
[45.567925, -73.203947, 'blue', '168.9 ¢/Litre
St-Jean-Baptiste / Yvon-LHeureux
Beloeil
Mon, 24 Jun 2024 11:00'],
[45.458915, -73.464943, 'green', '167.9 ¢/Litre
Taschereau / Mario
Brossard
Tue, 25 Jun 2024 16:19'],
[45.365866, -72.933780, 'green', '165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Tue, 25 Jun 2024 15:00'],
[45.342316, -72.783502, 'green', '165.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 25 Jun 2024 16:33'],
[45.329043, -72.817201, 'green', '165.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 25 Jun 2024 16:32'],
[45.362059, -72.934853, 'green', '165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 10:00'],
[45.495146, -73.409293, 'green', '165.9 ¢/Litre
Cousineau / Gaétan Boucher
Saint-Hubert
Tue, 25 Jun 2024 16:15'],
[0.000000, 0.000000, 'green', '165.9 ¢/Litre
Rte 235 - Sortie 55 Aut 10
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 10:00'],
[45.364946, -72.934102, 'green', '165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 10:00'],
[45.502445, -73.426215, 'green', '165.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Tue, 25 Jun 2024 16:18'],
[45.652417, -73.536275, 'green', '164.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Mon, 24 Jun 2024 20:30'],
[45.486768, -73.551440, 'green', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 25 Jun 2024 16:23'],
[45.576935, -73.327703, 'green', '163.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 25 Jun 2024 16:08'],
[45.576824, -73.327727, 'green', '163.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 25 Jun 2024 16:07'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 163.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Tue, 25 Jun 2024 12:36'],
[45.496541, -73.484126, 'green', '162.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Sun, 23 Jun 2024 19:31'],
[45.462287, -73.453165, 'green', '162.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 25 Jun 2024 16:18'],
[45.493703, -73.479352, 'green', '162.5 ¢/Litre
Taschereau / Georges
Greenfield Park
Sun, 23 Jun 2024 19:33'],
[45.371582, -73.515440, 'green', 'Costco - 160.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 25 Jun 2024 16:21'],
[45.433637, -73.477474, 'green', 'Costco - 160.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 25 Jun 2024 16:17'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 160.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Tue, 25 Jun 2024 11:48']];
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+");});");
}
}