/****
* 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.663008, -73.563337);
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.593169, -73.185226, 'red', '
175.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Thu, 13 Jun 2024 16:23'],
[45.551408, -73.216439, 'red', '
172.9 ¢/Litre
Boul. Laurier, route 116
Mont-Saint-Hilaire
Thu, 13 Jun 2024 00:03'],
[45.443789, -73.647980, 'red', '
171.9 ¢/Litre
St Jacques / St Pierre
Lachine
Tue, 11 Jun 2024 13:51'],
[45.567869, -73.522612, 'red', '
171.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Tue, 11 Jun 2024 13:37'],
[45.455117, -73.632777, 'red', '
171.9 ¢/Litre
St-Jacques / St-Anne-de-Bellevue
Notre-Dame-de-Grâce
Tue, 11 Jun 2024 13:51'],
[45.447754, -73.610053, 'red', '
171.9 ¢/Litre
Newman / Angrignon
LaSalle
Tue, 11 Jun 2024 13:50'],
[45.520053, -73.318720, 'red', '
171.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Tue, 11 Jun 2024 13:47'],
[45.464810, -73.585022, 'blue', '
170.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Tue, 11 Jun 2024 13:49'],
[45.595107, -73.511586, 'blue', '
170.9 ¢/Litre
Notre-Dame / St Donat
Hochelaga-Maisonneuve
Tue, 11 Jun 2024 13:37'],
[45.485007, -73.632753, 'blue', '
170.9 ¢/Litre
Decarie / Isabella
Côte-des-Neiges
Tue, 11 Jun 2024 13:50'],
[45.452430, -73.301341, 'blue', '
169.9 ¢/Litre
930 Périgny / Brassard
Chambly
Tue, 11 Jun 2024 13:46'],
[45.434691, -73.291560, 'blue', '
169.9 ¢/Litre
Kennedy / Fréchette
Chambly
Tue, 11 Jun 2024 13:47'],
[45.439289, -73.621925, 'blue', '
169.9 ¢/Litre
Lapierre / Newman
LaSalle
Tue, 11 Jun 2024 13:49'],
[45.432669, -73.306230, 'blue', '
169.9 ¢/Litre
1490 Boulevard Brassard
Chambly
Tue, 11 Jun 2024 13:46'],
[45.851462, -73.245437, 'blue', '
169.9 ¢/Litre
Marie-Victorin / Jacques
Contrecoeur
Thu, 13 Jun 2024 08:08'],
[45.865525, -73.145475, 'blue', '
169.9 ¢/Litre
4950 des patriotes
Contrecoeur
Thu, 13 Jun 2024 08:07'],
[45.563185, -73.206182, 'blue', '
169.9 ¢/Litre
coin Duvernay, route 116
Beloeil
Thu, 13 Jun 2024 00:10'],
[45.454187, -73.301763, 'blue', '
169.3 ¢/Litre
875 Périgny / St-Joseph
Chambly
Tue, 11 Jun 2024 13:45'],
[45.447754, -73.291977, 'blue', '
169.3 ¢/Litre
Périgny / Salaberry
Chambly
Tue, 11 Jun 2024 13:45'],
[45.574931, -73.876109, 'blue', 'Belisle - 168.9 ¢/Litre
St-Laurent
Saint-Eustache
Thu, 13 Jun 2024 11:12'],
[45.536265, -73.513074, 'blue', '
168.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Tue, 11 Jun 2024 11:30'],
[45.547614, -73.206221, 'blue', '
168.9 ¢/Litre
539 Chemin des Patriotes
Otterburn Park
Thu, 13 Jun 2024 00:08'],
[45.567408, -73.406653, 'blue', '
168.9 ¢/Litre
Montarville / Eifel
Boucherville
Tue, 11 Jun 2024 13:36'],
[45.512580, -73.499581, 'blue', '
168.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Tue, 11 Jun 2024 11:30'],
[45.542277, -73.187736, 'blue', '
167.9 ¢/Litre
511 Chemin Ozias Leduc
Otterburn Park
Thu, 13 Jun 2024 16:24'],
[45.467640, -73.538519, 'blue', '
167.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Thu, 13 Jun 2024 14:37'],
[45.542741, -73.186994, 'blue', '
167.9 ¢/Litre
459 Chemin Ozias Leduc
Otterburn Park
Thu, 13 Jun 2024 00:07'],
[45.436609, -73.625192, 'blue', '
167.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 11 Jun 2024 13:48'],
[45.506039, -73.430198, 'blue', '
166.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Tue, 11 Jun 2024 11:30'],
[45.496989, -73.447439, 'blue', '
166.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Tue, 11 Jun 2024 11:30'],
[45.575530, -73.874862, 'blue', '
166.9 ¢/Litre
25e Avenue / St-Laurent
Saint-Eustache
Thu, 13 Jun 2024 11:13'],
[45.542277, -73.187736, 'blue', '
165.9 ¢/Litre
511 Chemin Ozias-Leduc
Otterburn Park
Thu, 13 Jun 2024 00:06'],
[45.456332, -73.415714, 'green', '
164.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 11 Jun 2024 13:40'],
[45.458885, -73.419335, 'green', '
164.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 11 Jun 2024 13:41'],
[45.607988, -73.584409, 'green', 'Costco - 162.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 11 Jun 2024 11:00'],
[45.887128, -73.281948, 'green', '
161.9 ¢/Litre
st antoine
Lavaltrie
Wed, 12 Jun 2024 18:04'],
[45.721626, -73.506924, 'green', 'Costco - 161.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Tue, 11 Jun 2024 14:24'],
[45.576935, -73.327703, 'green', '
161.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 11 Jun 2024 13:36'],
[45.576824, -73.327727, 'green', '
161.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 11 Jun 2024 13:35'],
[45.522034, -73.464228, 'green', '
160.9 ¢/Litre
2720 Ch.de Chambly/Bl Jacques Cartier
Longueuil
Thu, 13 Jun 2024 17:49'],
[45.580715, -73.760447, 'green', 'Costco - 159.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Thu, 13 Jun 2024 14:36'],
[45.574156, -73.756927, 'green', 'Costco - 159.9 ¢/Litre
2999 440 oest
Laval
Thu, 13 Jun 2024 05:44'],
[45.434650, -73.480101, 'green', 'Costco - 159.9 ¢/Litre
9430 Boulevard Taschereau, Brossard
Brossard
Tue, 11 Jun 2024 14:30'],
[45.577602, -73.405821, 'green', 'Costco - 159.9 ¢/Litre
635 ch de Touraine
Boucherville
Wed, 12 Jun 2024 11:28'],
[45.486768, -73.551440, 'green', 'Costco - 159.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 11 Jun 2024 13:48']];
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+");});");
}
}