/****
* 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=e *
****/
function mapload() {
var latlng = new google.maps.LatLng(45.583373, -73.749592);
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.525224, -73.552013, 'red', '
174.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Wed, 19 Jun 2024 00:30'],
[45.463450, -73.578391, 'red', '
174.9 ¢/Litre
1125 Ave de lEglise & Rue Cool
Verdun
Wed, 19 Jun 2024 00:30'],
[45.439289, -73.621925, 'red', '
174.9 ¢/Litre
Lapierre / Newman
LaSalle
Wed, 19 Jun 2024 00:30'],
[45.686516, -73.431196, 'red', '
174.9 ¢/Litre
Quévillon / René-Gaultier
Varennes
Wed, 19 Jun 2024 03:35'],
[45.492127, -73.710676, 'red', '
174.9 ¢/Litre
Côte Vertu / Bégin
Saint-Laurent
Wed, 19 Jun 2024 03:32'],
[45.375490, -73.368060, 'red', '
173.9 ¢/Litre
1115 Blvd Saint-Luc/des Pins
Saint-Philippe
Tue, 18 Jun 2024 13:55'],
[45.435143, -73.476495, 'red', '
173.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 18 Jun 2024 13:50'],
[45.463308, -73.578714, 'red', '
173.9 ¢/Litre
De lEglise / Champlain
Verdun
Wed, 19 Jun 2024 00:30'],
[45.474511, -73.608761, 'red', '
173.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 17 Jun 2024 14:17'],
[45.591175, -73.525419, 'red', '
172.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:01'],
[45.441121, -73.442392, 'red', '
172.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Tue, 18 Jun 2024 13:49'],
[45.435239, -73.489912, 'red', '
172.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Tue, 18 Jun 2024 13:50'],
[45.458915, -73.464943, 'red', '
172.9 ¢/Litre
Taschereau / Mario
Brossard
Mon, 17 Jun 2024 14:09'],
[45.567869, -73.522612, 'red', '
171.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Tue, 18 Jun 2024 13:41'],
[45.474096, -73.609107, 'red', '
171.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 17 Jun 2024 14:16'],
[45.501483, -73.423506, 'red', '
171.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Tue, 18 Jun 2024 12:00'],
[45.585739, -73.541303, 'red', '
171.9 ¢/Litre
Sherbrooke / Haig
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:08'],
[45.567408, -73.406653, 'red', '
171.9 ¢/Litre
Montarville / Eifel
Boucherville
Tue, 18 Jun 2024 13:41'],
[45.575530, -73.874862, 'red', '
171.9 ¢/Litre
25e Avenue / St-Laurent
Saint-Eustache
Wed, 19 Jun 2024 15:52'],
[45.579789, -73.531915, 'red', '
171.9 ¢/Litre
Hochelaga / Langelier
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 14:00'],
[45.493232, -73.709000, 'red', '
171.9 ¢/Litre
Côte Vertu / Begin
Saint-Laurent
Wed, 19 Jun 2024 03:30'],
[45.496989, -73.447439, 'red', '
171.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 18 Jun 2024 12:00'],
[45.504640, -73.472325, 'red', '
171.9 ¢/Litre
Édouard / Elizabeth / Rte 116
Saint-Hubert
Tue, 18 Jun 2024 15:04'],
[45.596853, -73.522632, 'blue', '
171.0 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 23:59'],
[45.593235, -73.907617, 'blue', '
170.9 ¢/Litre
25ième ave
Saint-Eustache
Wed, 19 Jun 2024 15:52'],
[45.560186, -73.887346, 'blue', '
170.9 ¢/Litre
22 Boul Arthur-Sauvé & Rue St-Louis
Saint-Eustache
Wed, 19 Jun 2024 15:52'],
[45.414839, -73.485305, 'blue', '
170.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Tue, 18 Jun 2024 13:47'],
[45.408875, -73.472737, 'blue', '
170.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Tue, 18 Jun 2024 13:48'],
[45.420024, -73.486377, 'blue', '
170.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Tue, 18 Jun 2024 13:48'],
[45.568407, -73.887552, 'blue', '
170.9 ¢/Litre
Saint-Laurent / boul. goyer
Saint-Eustache
Wed, 19 Jun 2024 15:51'],
[45.574931, -73.876109, 'blue', 'Belisle - 170.9 ¢/Litre
St-Laurent
Saint-Eustache
Wed, 19 Jun 2024 10:28'],
[45.595021, -73.576689, 'blue', '
170.9 ¢/Litre
Aut 40 / Langelier
Saint-Leonard
Tue, 18 Jun 2024 15:02'],
[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.501070, -73.632488, 'red', '
169.9 ¢/Litre
Côte-des-Neiges / Van Horne
Côte-des-Neiges
Mon, 17 Jun 2024 14:17'],
[45.537753, -73.356759, 'blue', '
169.9 ¢/Litre
Montarville / Lavérendrye
Saint-Bruno-de-Montarville
Tue, 18 Jun 2024 12:00'],
[45.494872, -73.408831, 'blue', '
169.9 ¢/Litre
Cousineau / Gaetan - Boucher
Saint-Hubert
Tue, 18 Jun 2024 13:55'],
[45.536265, -73.513074, 'red', '
169.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Mon, 17 Jun 2024 14:15'],
[45.625710, -73.581131, 'blue', '
168.9 ¢/Litre
Henri-Bourassa E / Armand Bombardier / Ray Lawson
Rivière-des-Prairies
Tue, 18 Jun 2024 15:02'],
[45.467640, -73.538519, 'blue', '
168.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Thu, 20 Jun 2024 02:00'],
[45.522034, -73.464228, 'blue', '
168.9 ¢/Litre
2720, Ch.Chambly/Bl.Jacques Cartier
Longueuil
Wed, 19 Jun 2024 12:29'],
[45.599692, -73.612264, 'red', '
168.9 ¢/Litre
Lacordaire / Grandes Prairies
Saint-Leonard
Mon, 17 Jun 2024 14:06'],
[45.584091, -73.591460, 'blue', '
167.9 ¢/Litre
Lacordaire / Jarry E
Saint-Leonard
Tue, 18 Jun 2024 13:59'],
[45.456332, -73.415714, 'blue', '
166.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 18 Jun 2024 13:46'],
[45.481498, -73.453174, 'red', '
166.9 ¢/Litre
Grande Allée / Bellevue
Greenfield Park
Mon, 17 Jun 2024 14:08'],
[45.458885, -73.419335, 'blue', '
166.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 18 Jun 2024 13:46'],
[45.476955, -73.429460, 'green', '
163.9 ¢/Litre
Gaétan Boucher / Payer
Saint-Hubert
Tue, 18 Jun 2024 13:45'],
[45.502445, -73.426215, 'green', '
163.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Tue, 18 Jun 2024 13:45'],
[45.473358, -73.441447, 'green', '
163.9 ¢/Litre
Grande Allée / Milan / Gaétan Boucher
Brossard
Tue, 18 Jun 2024 13:46'],
[45.462287, -73.453165, 'green', '
163.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 18 Jun 2024 15:03'],
[45.607988, -73.584409, 'green', 'Costco - 162.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 18 Jun 2024 13:58'],
[45.580715, -73.760447, 'green', 'Costco - 161.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Thu, 20 Jun 2024 01:58'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 19 Jun 2024 00:00'],
[45.721453, -73.508422, 'red', 'Costco - 159.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Mon, 17 Jun 2024 14:04'],
[45.721626, -73.506924, 'green', 'Costco - 159.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Tue, 18 Jun 2024 10:48'],
[45.371582, -73.515440, 'green', 'Costco - 159.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 18 Jun 2024 13:57'],
[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.577602, -73.405821, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 18 Jun 2024 13:40'],
[45.475831, -73.361552, 'red', 'Pétrole Maurice - 158.9 ¢/Litre
8855 CH CHAMBL;Y
Saint-Hubert
Mon, 17 Jun 2024 11:59'],
[45.577050, -73.403659, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Wed, 19 Jun 2024 00:00'],
[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
Wed, 19 Jun 2024 01:30'],
[45.404236, -74.037960, 'red', 'Costco - 157.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Mon, 17 Jun 2024 14:03'],
[45.370385, -73.515747, 'red', 'Costco - 155.9 ¢/Litre
60 rue de Strasbourg
Candiac
Mon, 17 Jun 2024 14:02']];
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+");});");
}
}