/****
* 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.650041, -73.299578);
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.435143, -73.476495, 'red', '173.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 05 Jun 2024 00:32'],
[45.502445, -73.426215, 'red', '172.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Tue, 04 Jun 2024 12:57'],
[45.501483, -73.423506, 'red', '172.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Tue, 04 Jun 2024 12:58'],
[45.483866, -73.579463, 'red', '172.9 ¢/Litre
Atwater / St Jacques
Le Sud-Ouest
Tue, 04 Jun 2024 13:07'],
[45.452802, -73.572274, 'red', '172.9 ¢/Litre
Verdun / Woodland
Verdun
Tue, 04 Jun 2024 13:08'],
[45.463450, -73.578391, 'red', '172.9 ¢/Litre
1125 Ave de lEglise & Rue Cool
Verdun
Tue, 04 Jun 2024 13:08'],
[45.506039, -73.430198, 'red', '172.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Tue, 04 Jun 2024 12:57'],
[45.496989, -73.447439, 'red', '172.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 04 Jun 2024 12:56'],
[45.470437, -73.495625, 'red', '172.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Tue, 04 Jun 2024 12:56'],
[45.470898, -73.496523, 'red', '172.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Tue, 04 Jun 2024 12:53'],
[45.547999, -73.495463, 'red', '172.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Tue, 04 Jun 2024 12:51'],
[45.464810, -73.585022, 'red', '172.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Tue, 04 Jun 2024 13:09'],
[45.486054, -73.633837, 'red', '172.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Mon, 03 Jun 2024 11:19'],
[45.492127, -73.710676, 'red', '172.9 ¢/Litre
Côte Vertu / Bégin
Saint-Laurent
Tue, 04 Jun 2024 13:13'],
[45.481293, -73.577908, 'red', '172.9 ¢/Litre
Atwater/ Notre Dame
Ville-Marie (Montreal)
Sun, 02 Jun 2024 15:27'],
[45.420024, -73.486377, 'red', '172.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Wed, 05 Jun 2024 00:31'],
[45.512580, -73.499581, 'red', '172.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Tue, 04 Jun 2024 12:00'],
[45.493232, -73.709000, 'red', '172.9 ¢/Litre
Côte Vertu / Begin
Saint-Laurent
Tue, 04 Jun 2024 13:12'],
[45.575375, -73.446954, 'red', '172.9 ¢/Litre
Mortagne / Ampére
Boucherville
Mon, 03 Jun 2024 11:10'],
[45.576640, -73.446699, 'red', '172.9 ¢/Litre
Mortagne / Parfondeval
Boucherville
Mon, 03 Jun 2024 11:10'],
[45.567928, -73.450352, 'red', '172.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Mon, 03 Jun 2024 10:00'],
[45.567523, -73.450137, 'red', '172.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Mon, 03 Jun 2024 10:00'],
[45.408875, -73.472737, 'red', '172.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 03 Jun 2024 11:14'],
[45.494571, -73.500633, 'red', '172.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Mon, 03 Jun 2024 01:00'],
[45.486616, -73.636535, 'red', '172.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Mon, 03 Jun 2024 11:18'],
[45.493703, -73.479352, 'red', '172.9 ¢/Litre
Taschereau / Georges
Greenfield Park
Mon, 03 Jun 2024 01:00'],
[45.496541, -73.484126, 'red', '172.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Mon, 03 Jun 2024 01:00'],
[45.595021, -73.576689, 'red', '172.9 ¢/Litre
Aut 40 / Langelier
Saint-Leonard
Mon, 03 Jun 2024 00:00'],
[45.453096, -73.584039, 'red', '172.9 ¢/Litre
Woodland / de la Verendrye
Le Sud-Ouest
Wed, 05 Jun 2024 00:32'],
[45.454885, -73.465571, 'red', '172.9 ¢/Litre
Taschereau / Rome
Brossard
Mon, 03 Jun 2024 11:15'],
[45.652417, -73.536275, 'red', '171.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Tue, 04 Jun 2024 11:30'],
[45.474096, -73.609107, 'red', '171.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 03 Jun 2024 10:00'],
[45.520053, -73.318720, 'red', '171.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Mon, 03 Jun 2024 08:30'],
[45.445236, -73.438325, 'red', '171.9 ¢/Litre
Leduc / Lepage
Brossard
Tue, 04 Jun 2024 11:00'],
[45.576824, -73.327727, 'blue', '170.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Mon, 03 Jun 2024 09:00'],
[45.536265, -73.513074, 'blue', '170.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Tue, 04 Jun 2024 12:59'],
[45.576935, -73.327703, 'blue', '170.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Mon, 03 Jun 2024 09:00'],
[45.585563, -73.326783, 'blue', '170.9 ¢/Litre
Fer-à-Cheval / St Joseph / Aut 20 (Sortie 102)
Sainte-Julie
Mon, 03 Jun 2024 09:00'],
[45.542687, -73.455710, 'blue', '170.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Mon, 03 Jun 2024 11:07'],
[45.414839, -73.485305, 'blue', '169.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Wed, 05 Jun 2024 00:30'],
[45.537753, -73.356759, 'blue', '169.9 ¢/Litre
Montarville / Lavérendrye
Saint-Bruno-de-Montarville
Tue, 04 Jun 2024 12:50'],
[45.468890, -73.463637, 'blue', '168.9 ¢/Litre
Lapinière / Auteuil
Brossard
Tue, 04 Jun 2024 23:30'],
[45.489274, -73.724608, 'blue', '168.9 ¢/Litre
8300 Trans Canada (aut 40) / Montee de Liesse
Saint-Laurent
Wed, 05 Jun 2024 00:35'],
[45.467640, -73.538519, 'blue', '168.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Wed, 05 Jun 2024 00:29'],
[45.555705, -73.619473, 'blue', '168.4 ¢/Litre
Papineau / Crémazie / Aut 40 / de Lorimer
Villeray-Saint-Michel
Wed, 05 Jun 2024 13:30'],
[45.435239, -73.489912, 'blue', '167.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Wed, 05 Jun 2024 00:00'],
[45.756258, -73.446908, 'blue', '166.9 ¢/Litre
Industriel / Aut 40
Repentigny
Tue, 04 Jun 2024 13:14'],
[45.514779, -73.719469, 'blue', '166.9 ¢/Litre
Henri-Bourassa / Lafrance
Saint-Laurent
Wed, 05 Jun 2024 00:35'],
[45.721453, -73.508422, 'blue', 'Costco - 166.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Tue, 04 Jun 2024 12:30'],
[45.408970, -73.472702, 'blue', '166.9 ¢/Litre
St-Jean / Palerme
La Prairie
Wed, 05 Jun 2024 00:31'],
[45.471666, -73.563345, 'blue', 'Mobil - 166.9 ¢/Litre
3000 Wellington / Gilberte-Dubé / Henri Duhamel
Verdun
Mon, 03 Jun 2024 09:00'],
[45.721626, -73.506924, 'blue', 'Costco - 166.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Tue, 04 Jun 2024 15:09'],
[45.755453, -73.446799, 'blue', '166.9 ¢/Litre
120 Boul. Industriel
Repentigny
Tue, 04 Jun 2024 13:15'],
[45.563198, -73.206169, 'green', '165.9 ¢/Litre
Blv. Laurier/coin Duvernay
Beloeil
Tue, 04 Jun 2024 23:56'],
[45.522034, -73.464228, 'green', '164.9 ¢/Litre
2720 Ch.de Chambly/Bl Jacques Cartier
Longueuil
Tue, 04 Jun 2024 19:51'],
[45.607988, -73.584409, 'green', 'Costco - 164.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 04 Jun 2024 11:00'],
[45.470785, -73.468103, 'green', '164.3 ¢/Litre
Taschereau / Lapiniére
Brossard
Tue, 04 Jun 2024 11:00'],
[45.486768, -73.551440, 'green', 'Costco - 163.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 04 Jun 2024 13:05'],
[45.577050, -73.403659, 'green', 'Costco - 162.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 04 Jun 2024 22:00'],
[45.434703, -73.476459, 'green', 'Costco - 161.9 ¢/Litre
Bld. Matte / Bld. Taschereau
Brossard
Tue, 04 Jun 2024 09:40'],
[45.434703, -73.476459, 'green', 'Costco - 161.9 ¢/Litre
Boul. Taschereau & Matte
Brossard
Mon, 03 Jun 2024 20:59'],
[45.577602, -73.405821, 'green', 'Costco - 161.9 ¢/Litre
635 ch de Touraine
Boucherville
Wed, 05 Jun 2024 12:02'],
[45.462287, -73.453165, 'green', '160.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Wed, 05 Jun 2024 00:28'],
[45.371582, -73.515440, 'green', 'Costco - 160.5 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 04 Jun 2024 13:17'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 160.3 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Mon, 03 Jun 2024 19:52'],
[45.686705, -73.432357, 'green', '159.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Tue, 04 Jun 2024 12:00'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 04 Jun 2024 22:00'],
[45.434703, -73.476459, 'green', 'Costco - 159.9 ¢/Litre
Bld. Matte / Taschereau
Brossard
Wed, 05 Jun 2024 12:03'],
[45.475037, -73.358947, 'green', 'Pétrole Maurice - 159.9 ¢/Litre
Chemin Chambly / Montée Daniel
Saint-Hubert
Tue, 04 Jun 2024 13:03']];
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+");});");
}
}