/****
* 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.587474, -73.597010);
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.517865, -73.558761, 'red', '179.9 ¢/Litre
De Maisonneuve / Amherst
Ville-Marie (Montreal)
Sun, 30 Jun 2024 23:30'],
[45.593169, -73.185226, 'red', '178.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Mon, 01 Jul 2024 14:09'],
[45.593169, -73.185226, 'red', '177.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Mon, 01 Jul 2024 14:10'],
[45.501483, -73.423506, 'red', '176.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Sun, 30 Jun 2024 21:30'],
[45.523409, -73.554148, 'red', '176.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Sun, 30 Jun 2024 23:59'],
[45.525224, -73.552013, 'red', '176.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Sun, 30 Jun 2024 23:59'],
[45.604836, -73.529933, 'red', '176.9 ¢/Litre
Sherbrooke E / Des Ormeaux
Hochelaga-Maisonneuve
Sun, 30 Jun 2024 22:29'],
[45.525696, -73.551544, 'red', '176.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Sun, 30 Jun 2024 23:59'],
[45.502798, -73.645054, 'red', '176.9 ¢/Litre
Jean Talon / Lucerne
Mont-Royal
Mon, 01 Jul 2024 00:03'],
[45.483465, -73.796180, 'red', '176.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Mon, 01 Jul 2024 00:05'],
[45.483405, -73.796368, 'red', '176.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Mon, 01 Jul 2024 00:06'],
[45.435239, -73.489912, 'red', '176.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Mon, 01 Jul 2024 10:30'],
[45.408875, -73.472737, 'red', '176.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 01 Jul 2024 12:17'],
[45.414839, -73.485305, 'red', '176.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Mon, 01 Jul 2024 12:17'],
[45.493326, -73.478896, 'red', '176.9 ¢/Litre
Taschereau / Georges
Saint-Hubert
Mon, 01 Jul 2024 12:16'],
[45.575375, -73.446954, 'red', '176.9 ¢/Litre
Mortagne / Ampére
Boucherville
Sun, 30 Jun 2024 23:58'],
[45.467640, -73.538519, 'red', '175.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Mon, 01 Jul 2024 05:43'],
[45.674232, -73.432368, 'red', '175.9 ¢/Litre
65 Rue de lAqueduc
Varennes
Sun, 30 Jun 2024 22:30'],
[45.536265, -73.513074, 'blue', '174.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Mon, 01 Jul 2024 12:22'],
[45.495146, -73.409293, 'blue', '174.9 ¢/Litre
Cousineau / Gaétan Boucher
Saint-Hubert
Mon, 01 Jul 2024 12:20'],
[45.568407, -73.887552, 'blue', '173.9 ¢/Litre
Saint-Laurent / boul. goyer
Saint-Eustache
Mon, 01 Jul 2024 15:01'],
[45.536768, -73.499334, 'blue', 'Super Gaz - 173.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Sat, 29 Jun 2024 11:00'],
[45.560186, -73.887346, 'blue', '173.9 ¢/Litre
22 Boul Arthur-Sauvé & Rue St-Louis
Saint-Eustache
Mon, 01 Jul 2024 15:01'],
[45.548637, -73.535375, 'blue', '173.9 ¢/Litre
Ste-Catherine E / Pie IX
Hochelaga-Maisonneuve
Sun, 30 Jun 2024 22:33'],
[45.595344, -73.095492, 'blue', '173.9 ¢/Litre
Route 116
Mont-Saint-Hilaire
Mon, 01 Jul 2024 14:11'],
[45.574931, -73.876109, 'blue', 'Belisle - 172.9 ¢/Litre
St-Laurent
Saint-Eustache
Mon, 01 Jul 2024 15:00'],
[45.445923, -73.741216, 'blue', '172.9 ¢/Litre
Dorval / Aut 20
Dorval
Sun, 30 Jun 2024 21:30'],
[45.495543, -73.655560, 'blue', '172.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Mon, 01 Jul 2024 00:02'],
[45.486616, -73.636535, 'blue', '172.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Mon, 01 Jul 2024 00:00'],
[45.575530, -73.874862, 'blue', '171.9 ¢/Litre
25e Avenue / St-Laurent
Saint-Eustache
Sun, 30 Jun 2024 09:24'],
[45.593235, -73.907617, 'blue', '171.9 ¢/Litre
25ième ave
Saint-Eustache
Mon, 01 Jul 2024 15:00'],
[45.511796, -73.439486, 'blue', '170.9 ¢/Litre
Chambly / Vauquelin
Saint-Hubert
Sun, 30 Jun 2024 21:00'],
[45.481291, -73.388865, 'blue', '169.9 ¢/Litre
Cousineau / Moïse Vincent / Aut 30
Saint-Hubert
Mon, 01 Jul 2024 12:20'],
[45.564858, -73.587190, 'green', '165.9 ¢/Litre
Pie IX / Bélanger
Rosemont
Sun, 30 Jun 2024 21:30'],
[45.481980, -73.464589, 'green', '165.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Mon, 01 Jul 2024 11:00'],
[45.565046, -73.587783, 'green', '165.9 ¢/Litre
Pie IX / Bélanger
Villeray-Saint-Michel
Sun, 30 Jun 2024 21:30'],
[45.502445, -73.426215, 'green', '165.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Sun, 30 Jun 2024 20:30'],
[45.470851, -73.564091, 'green', '165.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Sun, 30 Jun 2024 21:32'],
[45.458885, -73.419335, 'green', '164.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Mon, 01 Jul 2024 12:13'],
[45.458904, -73.419386, 'green', '164.9 ¢/Litre
Grande-Allée / Du Quartier
Brossard
Mon, 01 Jul 2024 12:15'],
[45.721937, -73.506507, 'green', 'Costco - 162.9 ¢/Litre
870 monte des pionooiers
Terrebonne
Sat, 29 Jun 2024 14:00'],
[45.433637, -73.477474, 'green', 'Costco - 162.9 ¢/Litre
Taschereau / Matte
Brossard
Sun, 30 Jun 2024 19:30'],
[45.580715, -73.760447, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Sat, 29 Jun 2024 14:13'],
[45.721626, -73.506924, 'green', 'Costco - 162.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Sat, 29 Jun 2024 09:25'],
[45.475969, -73.361190, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
Chambly / Daniel
Saint-Hubert
Mon, 01 Jul 2024 06:02'],
[45.561464, -73.785208, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut 440 / Aut 15
Laval
Mon, 01 Jul 2024 05:40'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Mon, 01 Jul 2024 06:02'],
[45.686705, -73.432357, 'green', '162.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Mon, 01 Jul 2024 06:02'],
[45.439112, -73.190249, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
chemin chambly
Saint-Hubert
Mon, 01 Jul 2024 06:02'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
8855 ch chambly
Longuueil
Mon, 01 Jul 2024 06:02'],
[45.576824, -73.327727, 'green', '161.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Mon, 01 Jul 2024 11:00'],
[45.577602, -73.405821, 'green', 'Costco - 160.9 ¢/Litre
635 ch de Touraine
Boucherville
Mon, 01 Jul 2024 09:02'],
[45.577050, -73.403659, 'green', 'Costco - 160.8 ¢/Litre
635 ch de Touraine
Boucherville
Sun, 30 Jun 2024 11:15'],
[45.486768, -73.551440, 'green', 'Costco - 158.0 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Sun, 30 Jun 2024 10:23']];
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+");});");
}
}