/****
* 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.439258, -73.059540);
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.454439, -73.465418, 'red', '
176.9 ¢/Litre
Taschereau / Rome
Brossard
Tue, 25 Jun 2024 17:19'],
[45.435239, -73.489912, 'red', '
176.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Mon, 24 Jun 2024 11:30'],
[0.000000, 0.000000, 'red', '
176.9 ¢/Litre
2019 ROUTE 112
Saint-Césaire
Tue, 25 Jun 2024 17:38'],
[45.396802, -72.751605, 'red', '
176.9 ¢/Litre
Brignon
Granby
Tue, 25 Jun 2024 17:34'],
[45.401205, -72.760404, 'red', '
176.9 ¢/Litre
Maisonneuve / Simmonds
Granby
Tue, 25 Jun 2024 17:33'],
[45.506039, -73.430198, 'red', '
176.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Mon, 24 Jun 2024 23:53'],
[45.435143, -73.476495, 'red', '
175.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 25 Jun 2024 00:12'],
[45.494571, -73.500633, 'red', '
175.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Mon, 24 Jun 2024 22:30'],
[45.420024, -73.486377, 'red', '
175.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Mon, 24 Jun 2024 22:30'],
[45.593169, -73.185226, 'red', '
175.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Tue, 25 Jun 2024 17:13'],
[45.567928, -73.450352, 'red', '
175.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Mon, 24 Jun 2024 12:30'],
[45.496989, -73.447439, 'red', '
174.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 25 Jun 2024 00:09'],
[45.593169, -73.185226, 'red', '
174.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Tue, 25 Jun 2024 17:14'],
[45.408875, -73.472737, 'red', '
173.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Tue, 25 Jun 2024 00:11'],
[45.611373, -73.438346, 'blue', '
172.9 ¢/Litre
Montbrun / Des Ateliers
Boucherville
Tue, 25 Jun 2024 17:09'],
[45.441121, -73.442392, 'blue', '
172.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Tue, 25 Jun 2024 00:11'],
[45.523773, -73.302032, 'blue', '
171.9 ¢/Litre
Millenaire / Sir-Wilfrid-Laurier / Rte 116
Saint-Basile-le-Grand
Tue, 25 Jun 2024 17:41'],
[45.520053, -73.318720, 'blue', '
171.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 17:41'],
[45.528552, -73.290176, 'blue', '
171.9 ¢/Litre
Des Trinitaires / Sir Wilfrid Laurier
Saint-Basile-le-Grand
Tue, 25 Jun 2024 17:40'],
[45.414839, -73.485305, 'blue', '
171.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Tue, 25 Jun 2024 00:10'],
[45.496101, -73.513824, 'blue', '
171.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Mon, 24 Jun 2024 22:30'],
[45.540392, -73.368003, 'blue', '
170.9 ¢/Litre
Montarville / Parent / Aut 30 (Sortie 121)
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 17:08'],
[45.331377, -72.648969, 'blue', '
169.9 ¢/Litre
Bromont / Aut 10 (Sortie 78)
Bromont
Tue, 25 Jun 2024 17:31'],
[45.438019, -73.043068, 'blue', '
169.9 ¢/Litre
Grande-Caroline / Pierre Préfontaine
Rougemont
Tue, 25 Jun 2024 17:36'],
[45.494954, -73.481755, 'blue', '
169.9 ¢/Litre
Tashereau / Churchill
Greenfield Park
Mon, 24 Jun 2024 14:13'],
[45.287199, -72.992513, 'blue', '
169.9 ¢/Litre
Principale (Rte 104) / Rte 235
Farnham
Mon, 24 Jun 2024 12:00'],
[45.334628, -72.650518, 'blue', '
169.9 ¢/Litre
130 Boul du carrefour
Bromont
Tue, 25 Jun 2024 17:31'],
[45.334200, -72.651372, 'blue', '
169.9 ¢/Litre
Boul. Bromont / Aut. 10
Bromont
Tue, 25 Jun 2024 17:31'],
[45.335737, -72.703528, 'blue', '
169.9 ¢/Litre
Pierre Laporte / Aut 10 (Sortie 74)
Bromont
Tue, 25 Jun 2024 17:32'],
[45.520131, -73.318072, 'blue', '
169.9 ¢/Litre
De Boucherville / 116
Saint-Bruno-de-Montarville
Tue, 25 Jun 2024 17:40'],
[45.476955, -73.429460, 'blue', '
169.9 ¢/Litre
Gaétan Boucher / Payer
Saint-Hubert
Mon, 24 Jun 2024 13:46'],
[45.455084, -73.443046, 'blue', '
169.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 25 Jun 2024 17:16'],
[45.562421, -73.188442, 'blue', '
169.9 ¢/Litre
324 sir-wilfrid-laurier
Mont-Saint-Hilaire
Tue, 25 Jun 2024 17:11'],
[45.549520, -73.219972, 'blue', '
169.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Tue, 25 Jun 2024 17:10'],
[45.562616, -73.188010, 'blue', '
169.9 ¢/Litre
328 Boul Sir-Wilfrid-Laurier / Radisson
Mont-Saint-Hilaire
Tue, 25 Jun 2024 17:13'],
[45.571289, -73.177673, 'blue', '
169.9 ¢/Litre
Sir Wilfrid Laurier / Bernard
Mont-Saint-Hilaire
Tue, 25 Jun 2024 17:12'],
[45.567925, -73.203947, 'blue', '
168.9 ¢/Litre
St-Jean-Baptiste / Yvon-LHeureux
Beloeil
Mon, 24 Jun 2024 12:00'],
[45.562847, -73.224587, 'blue', '
168.9 ¢/Litre
235 Blvd Yvon-lHeureux Nord
Beloeil
Mon, 24 Jun 2024 13:48'],
[45.458915, -73.464943, 'blue', '
167.9 ¢/Litre
Taschereau / Mario
Brossard
Tue, 25 Jun 2024 17:19'],
[0.000000, 0.000000, 'green', '
165.9 ¢/Litre
Rte 235 - Sortie 55 Aut 10
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 11:00'],
[45.329043, -72.817201, 'green', '
165.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 25 Jun 2024 17:32'],
[45.342316, -72.783502, 'green', '
165.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Tue, 25 Jun 2024 17:33'],
[45.365866, -72.933780, 'green', '
165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Tue, 25 Jun 2024 16:00'],
[45.502445, -73.426215, 'green', '
165.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Tue, 25 Jun 2024 17:18'],
[45.362059, -72.934853, 'green', '
165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 11:00'],
[45.495146, -73.409293, 'green', '
165.9 ¢/Litre
Cousineau / Gaétan Boucher
Saint-Hubert
Tue, 25 Jun 2024 17:15'],
[45.364946, -72.934102, 'green', '
165.9 ¢/Litre
Rte 235 / Aut 10 (Sortie 55)
LAnge-Gardien (Montérégie)
Mon, 24 Jun 2024 11:00'],
[45.576824, -73.327727, 'green', '
163.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 25 Jun 2024 17:07'],
[45.576935, -73.327703, 'green', '
163.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 25 Jun 2024 17:08'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 163.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Tue, 25 Jun 2024 13:36'],
[45.462287, -73.453165, 'green', '
162.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 25 Jun 2024 17:18'],
[45.433637, -73.477474, 'green', 'Costco - 160.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 25 Jun 2024 17: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 12:48'],
[45.635377, -73.316982, 'green', '
160.9 ¢/Litre
Principale / Adam
Saint-Amable
Tue, 25 Jun 2024 00:07'],
[45.577739, -73.405651, 'green', 'Costco - 160.8 ¢/Litre
635 Ch de Touraine
Boucherville
Tue, 25 Jun 2024 14:00']];
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+");});");
}
}