/****
* 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.566709, -73.199575);
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.686516, -73.431196, 'red', '
174.9 ¢/Litre
Quévillon / René-Gaultier
Varennes
Wed, 19 Jun 2024 03:35'],
[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.435239, -73.489912, 'red', '
172.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Tue, 18 Jun 2024 13:50'],
[45.441121, -73.442392, 'red', '
172.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Tue, 18 Jun 2024 13:49'],
[45.496989, -73.447439, 'red', '
171.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 18 Jun 2024 12:00'],
[45.567869, -73.522612, 'red', '
171.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Tue, 18 Jun 2024 13:41'],
[45.549520, -73.219972, 'red', '
171.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Tue, 18 Jun 2024 13:42'],
[45.567408, -73.406653, 'red', '
171.9 ¢/Litre
Montarville / Eifel
Boucherville
Tue, 18 Jun 2024 13:41'],
[45.557828, -73.231701, 'red', '
171.9 ¢/Litre
Bernard-Pilon / Yvon-LHeureux
McMasterville
Tue, 18 Jun 2024 13:43'],
[45.501483, -73.423506, 'red', '
171.9 ¢/Litre
Cousineau / Montée St-Hubert
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, 'red', '
171.0 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Mon, 17 Jun 2024 23:59'],
[45.595021, -73.576689, 'red', '
170.9 ¢/Litre
Aut 40 / Langelier
Saint-Leonard
Tue, 18 Jun 2024 15:02'],
[45.420024, -73.486377, 'red', '
170.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Tue, 18 Jun 2024 13:48'],
[45.408875, -73.472737, 'red', '
170.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Tue, 18 Jun 2024 13:48'],
[45.414839, -73.485305, 'red', '
170.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Tue, 18 Jun 2024 13:47'],
[45.494872, -73.408831, 'blue', '
169.9 ¢/Litre
Cousineau / Gaetan - Boucher
Saint-Hubert
Tue, 18 Jun 2024 13:55'],
[45.562847, -73.224587, 'blue', '
169.9 ¢/Litre
235 Blvd Yvon-lHeureux Nord
Beloeil
Tue, 18 Jun 2024 13:42'],
[45.537753, -73.356759, 'blue', '
169.9 ¢/Litre
Montarville / Lavérendrye
Saint-Bruno-de-Montarville
Tue, 18 Jun 2024 12:00'],
[45.467640, -73.538519, 'blue', '
168.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Tue, 18 Jun 2024 18:45'],
[45.522034, -73.464228, 'blue', '
168.9 ¢/Litre
2720, Ch.Chambly/Bl.Jacques Cartier
Longueuil
Wed, 19 Jun 2024 12:29'],
[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.454187, -73.301763, 'blue', '
168.3 ¢/Litre
875 Périgny / St-Joseph
Chambly
Tue, 18 Jun 2024 13:54'],
[45.377717, -73.373281, 'blue', '
167.9 ¢/Litre
1149 Boul.St-Luc / Ruisseau Desnoyers
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 13:54'],
[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.458885, -73.419335, 'blue', '
166.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 18 Jun 2024 13:46'],
[45.465169, -73.345462, 'blue', '
165.9 ¢/Litre
1499 Ch de Chambly / Cousineau
Carignan
Tue, 18 Jun 2024 13:53'],
[45.502445, -73.426215, 'blue', '
163.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Tue, 18 Jun 2024 13:45'],
[45.476955, -73.429460, 'blue', '
163.9 ¢/Litre
Gaétan Boucher / Payer
Saint-Hubert
Tue, 18 Jun 2024 13:45'],
[45.473358, -73.441447, 'blue', '
163.9 ¢/Litre
Grande Allée / Milan / Gaétan Boucher
Brossard
Tue, 18 Jun 2024 13:46'],
[45.462287, -73.453165, 'blue', '
163.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 18 Jun 2024 15:03'],
[45.314787, -73.264700, 'blue', '
163.9 ¢/Litre
Séminaire / St-Joseph
Saint-Jean-sur-Richelieu
Wed, 19 Jun 2024 08:59'],
[45.306225, -73.283867, 'green', '
162.9 ¢/Litre
Industriel/St Jacques
Saint-Jean-sur-Richelieu
Wed, 19 Jun 2024 08:58'],
[45.607988, -73.584409, 'green', 'Costco - 162.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 18 Jun 2024 13:58'],
[45.596376, -73.090448, 'green', '
161.9 ¢/Litre
Laurier / Rte 116 / St Joseph
Sainte-Madeleine
Tue, 18 Jun 2024 13:43'],
[45.313099, -73.228636, 'green', 'Pétroles Trudo - 161.9 ¢/Litre
Rte 104
Mont-Saint-Grégoire
Tue, 18 Jun 2024 13:38'],
[45.371582, -73.515440, 'green', 'Costco - 159.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 18 Jun 2024 13:57'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 19 Jun 2024 00:00'],
[45.486768, -73.551440, 'green', 'Costco - 159.5 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Mon, 17 Jun 2024 18:34'],
[45.577050, -73.403659, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Wed, 19 Jun 2024 00:00'],
[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.338756, -73.286105, 'green', '
158.9 ¢/Litre
1315 rue Douglas
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 13:52'],
[45.686705, -73.432357, 'green', '
158.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Wed, 19 Jun 2024 01:30'],
[45.577602, -73.405821, 'green', 'Costco - 158.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 18 Jun 2024 13:40'],
[45.331837, -73.279219, 'green', '
155.9 ¢/Litre
Pierre-Caisse / Choquette
Saint-Jean-sur-Richelieu
Wed, 19 Jun 2024 14:15'],
[45.355902, -73.297543, 'green', '
154.9 ¢/Litre
290 St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 11:52'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 154.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 13:52'],
[45.331743, -73.278827, 'green', '
154.9 ¢/Litre
Pierre Caisse/Choquette
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 11:54'],
[45.355527, -73.297120, 'green', '
154.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Tue, 18 Jun 2024 13:51']];
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+");});");
}
}