/****
* 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.482161, -73.862200);
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)
Mon, 01 Jul 2024 00:30'],
[45.470898, -73.496523, 'red', '
177.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Tue, 02 Jul 2024 12:32'],
[45.469156, -73.649957, 'red', '
176.9 ¢/Litre
Cote St Luc / Montclair
Côte-Saint-Luc
Tue, 02 Jul 2024 00:30'],
[45.496541, -73.484126, 'red', '
176.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Tue, 02 Jul 2024 12:31'],
[45.493703, -73.479352, 'red', '
176.9 ¢/Litre
Taschereau / Georges
Greenfield Park
Tue, 02 Jul 2024 12:31'],
[45.435239, -73.489912, 'red', '
176.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Tue, 02 Jul 2024 10:30'],
[45.408875, -73.472737, 'red', '
176.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 01 Jul 2024 13:17'],
[45.571185, -73.913286, 'red', '
176.9 ¢/Litre
Arthur-Sauvé/Grignon (Hôpital
Saint-Eustache
Tue, 02 Jul 2024 10:46'],
[45.452802, -73.572274, 'red', '
176.9 ¢/Litre
Verdun / Woodland
Verdun
Tue, 02 Jul 2024 12:34'],
[45.468040, -73.638016, 'red', '
176.9 ¢/Litre
Somerled / Cavendish
Notre-Dame-de-Grâce
Tue, 02 Jul 2024 00:30'],
[45.573392, -73.913867, 'red', '
176.9 ¢/Litre
Boul Sauvé/Boul. Industriel
Saint-Eustache
Tue, 02 Jul 2024 10:46'],
[45.525696, -73.551544, 'red', '
176.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Mon, 01 Jul 2024 00:59'],
[45.523409, -73.554148, 'red', '
176.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Mon, 01 Jul 2024 00:59'],
[45.525224, -73.552013, 'red', '
176.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Mon, 01 Jul 2024 00:59'],
[45.471419, -73.648055, 'red', '
176.9 ¢/Litre
Cote St Luc / Cavendish
Notre-Dame-de-Grâce
Tue, 02 Jul 2024 00:30'],
[45.502798, -73.645054, 'red', '
176.9 ¢/Litre
Jean Talon / Lucerne
Mont-Royal
Mon, 01 Jul 2024 01:03'],
[45.483465, -73.796180, 'red', '
176.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Mon, 01 Jul 2024 01:05'],
[45.483405, -73.796368, 'red', '
176.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Mon, 01 Jul 2024 01:06'],
[45.467640, -73.538519, 'red', '
176.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Wed, 03 Jul 2024 17:08'],
[45.575639, -73.892358, 'red', '
176.9 ¢/Litre
Antoine-Séguin/rue Dubois
Saint-Eustache
Tue, 02 Jul 2024 10:45'],
[45.598602, -73.552882, 'red', '
176.9 ¢/Litre
Louis-H-Lafontaine / Aut 25 / Beaubien
Anjou
Tue, 02 Jul 2024 12:48'],
[45.619613, -73.553837, 'red', '
176.9 ¢/Litre
Du Golf / Aut 40
Anjou
Tue, 02 Jul 2024 12:48'],
[45.595107, -73.511586, 'red', '
175.9 ¢/Litre
Notre-Dame / St Donat
Hochelaga-Maisonneuve
Tue, 02 Jul 2024 12:47'],
[45.597322, -73.550109, 'red', '
175.9 ¢/Litre
Louis-H.-Lafontaine / Aut 25 / Yves Prévost
Anjou
Tue, 02 Jul 2024 10:30'],
[45.593235, -73.907617, 'red', '
175.9 ¢/Litre
25ième ave
Saint-Eustache
Tue, 02 Jul 2024 10:45'],
[45.420024, -73.486377, 'red', '
174.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Tue, 02 Jul 2024 00:00'],
[45.414839, -73.485305, 'red', '
174.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Tue, 02 Jul 2024 00:00'],
[45.536265, -73.513074, 'red', '
174.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Mon, 01 Jul 2024 13:22'],
[45.526139, -73.559993, 'red', '
174.9 ¢/Litre
Papineau / Ontario
Ville-Marie (Montreal)
Tue, 02 Jul 2024 00:30'],
[45.394885, -73.511659, 'blue', '
173.9 ¢/Litre
de lIndustrie / Aut 15 (Sortie 44)
Candiac
Tue, 02 Jul 2024 12:33'],
[45.560186, -73.887346, 'blue', '
173.9 ¢/Litre
22 Boul Arthur-Sauvé & Rue St-Louis
Saint-Eustache
Mon, 01 Jul 2024 16:01'],
[45.568407, -73.887552, 'blue', '
173.9 ¢/Litre
Saint-Laurent / boul. goyer
Saint-Eustache
Mon, 01 Jul 2024 16:01'],
[45.495543, -73.655560, 'red', '
172.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Mon, 01 Jul 2024 01:02'],
[45.574931, -73.876109, 'blue', 'Belisle - 172.9 ¢/Litre
St-Laurent
Saint-Eustache
Wed, 03 Jul 2024 09:12'],
[45.468890, -73.463637, 'blue', '
172.9 ¢/Litre
Lapinière / Auteuil
Brossard
Tue, 02 Jul 2024 12:30'],
[45.644168, -73.513834, 'blue', '
171.9 ¢/Litre
Sherbrooke E / St Jean Baptiste
Pointe-aux-Trembles
Tue, 02 Jul 2024 12:46'],
[45.643553, -73.513845, 'blue', '
171.9 ¢/Litre
Sherbrooke E / St-Jean Baptiste
Pointe-aux-Trembles
Tue, 02 Jul 2024 12:45'],
[45.642334, -73.505225, 'blue', '
171.9 ¢/Litre
St-jean-Baptiste / Montigny
Pointe-aux-Trembles
Tue, 02 Jul 2024 12:41'],
[45.486616, -73.636535, 'blue', '
170.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Tue, 02 Jul 2024 02:16'],
[45.536768, -73.499334, 'blue', 'Super Gaz - 170.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Tue, 02 Jul 2024 12:40'],
[45.481980, -73.464589, 'green', '
165.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Mon, 01 Jul 2024 12:00'],
[45.568229, -73.924034, 'green', '
165.9 ¢/Litre
207 boul industriel
Saint-Eustache
Tue, 02 Jul 2024 10:46'],
[45.566713, -73.924678, 'green', 'Belisle - 165.9 ¢/Litre
Industriel / St-Eustache / de la Rivière N
Saint-Eustache
Tue, 02 Jul 2024 10:47'],
[45.458904, -73.419386, 'green', '
164.9 ¢/Litre
Grande-Allée / Du Quartier
Brossard
Mon, 01 Jul 2024 13:15'],
[45.607988, -73.584409, 'green', 'Costco - 164.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 02 Jul 2024 12:44'],
[45.486768, -73.551440, 'green', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 02 Jul 2024 12:44'],
[45.462287, -73.453165, 'green', '
164.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 02 Jul 2024 12:29'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
8855 ch chambly
Longuueil
Mon, 01 Jul 2024 07:02'],
[45.580715, -73.760447, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Wed, 03 Jul 2024 17:06'],
[45.561464, -73.785208, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut 440 / Aut 15
Laval
Mon, 01 Jul 2024 06:40'],
[45.721626, -73.506924, 'green', 'Costco - 162.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Wed, 03 Jul 2024 21:37'],
[45.433637, -73.477474, 'green', 'Costco - 162.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 02 Jul 2024 12:28'],
[45.371582, -73.515440, 'green', 'Costco - 161.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 02 Jul 2024 12:32'],
[45.404236, -74.037960, 'green', 'Costco - 161.1 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Tue, 02 Jul 2024 12:43']];
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+");});");
}
}