/****
* 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.466242, -73.593850);
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.474511, -73.608761, 'red', '173.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 17 Jun 2024 14:17'],
[45.458915, -73.464943, 'red', '172.9 ¢/Litre
Taschereau / Mario
Brossard
Mon, 17 Jun 2024 14:09'],
[45.496541, -73.484126, 'red', '172.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Mon, 17 Jun 2024 01:00'],
[45.591175, -73.525419, 'red', '172.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:01'],
[45.523409, -73.554148, 'red', '172.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Mon, 17 Jun 2024 03:07'],
[45.525224, -73.552013, 'red', '172.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Mon, 17 Jun 2024 03:07'],
[45.595047, -73.582150, 'red', '172.9 ¢/Litre
Langelier / Jarry E
Saint-Leonard
Sun, 16 Jun 2024 01:57'],
[45.493703, -73.479352, 'red', '172.9 ¢/Litre
Taschereau / Georges
Greenfield Park
Sun, 16 Jun 2024 01:56'],
[45.457416, -73.492229, 'red', '172.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Sun, 16 Jun 2024 01:55'],
[45.515478, -73.490700, 'red', '172.9 ¢/Litre
Curé Poirier / Ste-Hélène
Longueuil
Sun, 16 Jun 2024 02:00'],
[45.470437, -73.495625, 'red', '171.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Sun, 16 Jun 2024 00:00'],
[45.474096, -73.609107, 'red', '171.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 17 Jun 2024 14:16'],
[45.585739, -73.541303, 'red', '171.9 ¢/Litre
Sherbrooke / Haig
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:08'],
[45.579789, -73.531915, 'red', '171.9 ¢/Litre
Hochelaga / Langelier
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:00'],
[45.567408, -73.406653, 'red', '171.9 ¢/Litre
Montarville / Eifel
Boucherville
Mon, 17 Jun 2024 14:00'],
[45.493326, -73.478896, 'red', '171.9 ¢/Litre
Taschereau / Georges
Saint-Hubert
Mon, 17 Jun 2024 03:10'],
[45.478890, -73.478282, 'red', '171.9 ¢/Litre
Simard / Victoria
Saint-Lambert
Sun, 16 Jun 2024 01:52'],
[45.470785, -73.468103, 'red', '171.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Mon, 17 Jun 2024 01:00'],
[45.467640, -73.538519, 'red', '171.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Mon, 17 Jun 2024 02:52'],
[45.414839, -73.485305, 'red', '171.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Sun, 16 Jun 2024 00:00'],
[45.420024, -73.486377, 'red', '171.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Sun, 16 Jun 2024 00:00'],
[45.525696, -73.551544, 'red', '171.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Mon, 17 Jun 2024 03:06'],
[45.476861, -73.838663, 'red', '171.9 ¢/Litre
St Jean / Westminster
Dollard-des-Ormeaux
Sun, 16 Jun 2024 00:00'],
[45.470898, -73.496523, 'red', '171.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Sun, 16 Jun 2024 00:00'],
[45.547999, -73.495463, 'red', '171.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Sun, 16 Jun 2024 00:00'],
[45.454885, -73.465571, 'red', '171.9 ¢/Litre
Taschereau / Rome
Brossard
Mon, 17 Jun 2024 01:00'],
[45.596853, -73.522632, 'red', '171.0 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 23:59'],
[45.586172, -73.540959, 'red', '170.9 ¢/Litre
Sherbrooke / Haig
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:07'],
[45.538106, -73.699054, 'red', '170.9 ¢/Litre
Salaberry / James Morrice
Ahuntsic-Cartierville
Mon, 17 Jun 2024 14:18'],
[45.535775, -73.666173, 'blue', '169.9 ¢/Litre
lAcadie / Sauvé O
Ahuntsic-Cartierville
Mon, 17 Jun 2024 03:12'],
[45.536265, -73.513074, 'blue', '169.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Mon, 17 Jun 2024 14:15'],
[45.501070, -73.632488, 'blue', '169.9 ¢/Litre
Côte-des-Neiges / Van Horne
Côte-des-Neiges
Mon, 17 Jun 2024 14:17'],
[45.447845, -73.286863, 'blue', '169.5 ¢/Litre
Bourgogne / Fréchette
Chambly
Mon, 17 Jun 2024 14:13'],
[45.447754, -73.291977, 'blue', '169.3 ¢/Litre
Périgny / Salaberry
Chambly
Mon, 17 Jun 2024 14:13'],
[45.567869, -73.522612, 'blue', '168.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 12:00'],
[45.582704, -73.426126, 'blue', '168.9 ¢/Litre
Montarville / Normandie
Boucherville
Sat, 15 Jun 2024 23:00'],
[45.574931, -73.876109, 'blue', 'Belisle - 168.9 ¢/Litre
St-Laurent
Saint-Eustache
Mon, 17 Jun 2024 10:29'],
[45.428233, -73.153209, 'blue', '168.9 ¢/Litre
Claude de Ramezay / Ivanier
Marieville
Mon, 17 Jun 2024 14:12'],
[45.599692, -73.612264, 'blue', '168.9 ¢/Litre
Lacordaire / Grandes Prairies
Saint-Leonard
Mon, 17 Jun 2024 14:06'],
[45.454187, -73.301763, 'blue', '168.3 ¢/Litre
875 Périgny / St-Joseph
Chambly
Mon, 17 Jun 2024 14:11'],
[45.452430, -73.301341, 'blue', '168.3 ¢/Litre
930 Périgny / Brassard
Chambly
Mon, 17 Jun 2024 14:11'],
[45.481498, -73.453174, 'blue', '166.9 ¢/Litre
Grande Allée / Bellevue
Greenfield Park
Mon, 17 Jun 2024 14:08'],
[45.465169, -73.345462, 'blue', '164.9 ¢/Litre
1499 Ch de Chambly / Cousineau
Carignan
Mon, 17 Jun 2024 14:10'],
[45.481980, -73.464589, 'green', '163.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Mon, 17 Jun 2024 00:00'],
[45.607988, -73.584409, 'green', 'Costco - 162.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Mon, 17 Jun 2024 14:06'],
[45.721626, -73.506924, 'red', 'Costco - 161.9 ¢/Litre
870 monte des pionniers
Terrebonne
Sat, 15 Jun 2024 13:00'],
[45.721453, -73.508422, 'green', 'Costco - 159.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Mon, 17 Jun 2024 14:04'],
[45.684327, -73.435514, 'green', '159.9 ¢/Litre
Marie-Victorin / Vincent
Varennes
Mon, 17 Jun 2024 09:47'],
[45.580715, -73.760447, 'green', 'Costco - 159.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Mon, 17 Jun 2024 14:04'],
[45.721626, -73.506924, 'green', 'Costco - 159.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Mon, 17 Jun 2024 13:36'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Mon, 17 Jun 2024 14:05'],
[45.486768, -73.551440, 'green', 'Costco - 159.5 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Mon, 17 Jun 2024 18:34'],
[45.521972, -73.463278, 'green', '158.9 ¢/Litre
2715 Chemin de Chambly
Longueuil
Mon, 17 Jun 2024 21:46'],
[45.519146, -73.457348, 'green', '158.9 ¢/Litre
Ch Chambly et Desormeaux
Longueuil
Mon, 17 Jun 2024 21:47'],
[45.686705, -73.432357, 'green', '158.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Mon, 17 Jun 2024 14:14'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 158.9 ¢/Litre
8855 CH CHAMBL;Y
Saint-Hubert
Mon, 17 Jun 2024 11:59'],
[45.577602, -73.405821, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 18 Jun 2024 09:35'],
[45.577050, -73.403659, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Mon, 17 Jun 2024 13:59'],
[45.404236, -74.037960, 'green', 'Costco - 157.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Mon, 17 Jun 2024 14:03'],
[45.370385, -73.515747, 'green', 'Costco - 155.9 ¢/Litre
60 rue de Strasbourg
Candiac
Mon, 17 Jun 2024 14:02'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 155.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Mon, 17 Jun 2024 11:58'],
[45.355527, -73.297120, 'green', '155.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Mon, 17 Jun 2024 14:09']];
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+");});");
}
}