/****
* 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.563198, -73.206169, 'red', '
175.9 ¢/Litre
Blv. Laurier/coin Duvernay
Beloeil
Fri, 21 Jun 2024 14:49'],
[45.593169, -73.185226, 'red', '
175.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Fri, 21 Jun 2024 16:54'],
[45.435239, -73.489912, 'red', '
175.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Fri, 21 Jun 2024 17:36'],
[45.591175, -73.525419, 'red', '
175.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Fri, 21 Jun 2024 17:35'],
[45.612289, -73.555207, 'red', '
174.9 ¢/Litre
Roi-René /Chateauneuf
Anjou
Fri, 21 Jun 2024 17:46'],
[45.567408, -73.406653, 'red', '
174.9 ¢/Litre
Montarville / Eifel
Boucherville
Fri, 21 Jun 2024 17:43'],
[45.604836, -73.529933, 'red', '
174.9 ¢/Litre
Sherbrooke E / Des Ormeaux
Hochelaga-Maisonneuve
Fri, 21 Jun 2024 17:42'],
[45.567928, -73.450352, 'red', '
174.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Fri, 21 Jun 2024 17:33'],
[45.593169, -73.185226, 'red', '
174.9 ¢/Litre
Brunet / Aut 20 (Sortie 113)
Mont-Saint-Hilaire
Fri, 21 Jun 2024 16:55'],
[45.529959, -73.622510, 'red', '
174.9 ¢/Litre
Parc / Jean Talon O
Parc-Extension
Fri, 21 Jun 2024 17:53'],
[45.467640, -73.538519, 'red', '
174.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Fri, 21 Jun 2024 19:53'],
[45.575375, -73.446954, 'red', '
173.9 ¢/Litre
Mortagne / Ampére
Boucherville
Fri, 21 Jun 2024 17:33'],
[45.495759, -73.610051, 'red', '
173.9 ¢/Litre
Cote-des-Neiges / Ridgewood
Côte-des-Neiges
Fri, 21 Jun 2024 17:48'],
[45.598981, -73.447627, 'blue', '
172.9 ¢/Litre
Samuel de Champlain / Montarville
Boucherville
Fri, 21 Jun 2024 16:30'],
[45.470420, -73.832197, 'blue', '
172.9 ¢/Litre
St Jean / Devon
Dollard-des-Ormeaux
Fri, 21 Jun 2024 17:56'],
[45.533296, -73.656549, 'blue', '
172.9 ¢/Litre
lAcadie / Chabanel
Ahuntsic-Cartierville
Fri, 21 Jun 2024 16:00'],
[45.535775, -73.666173, 'blue', '
172.9 ¢/Litre
lAcadie / Sauvé O
Ahuntsic-Cartierville
Fri, 21 Jun 2024 16:00'],
[45.542687, -73.455710, 'blue', '
172.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Fri, 21 Jun 2024 17:41'],
[45.576640, -73.446699, 'blue', '
172.9 ¢/Litre
Mortagne / Parfondeval
Boucherville
Fri, 21 Jun 2024 17:34'],
[45.476861, -73.838663, 'blue', '
171.9 ¢/Litre
St Jean / Westminster
Dollard-des-Ormeaux
Fri, 21 Jun 2024 17:55'],
[45.579789, -73.531915, 'blue', '
171.9 ¢/Litre
Hochelaga / Langelier
Hochelaga-Maisonneuve
Fri, 21 Jun 2024 17:41'],
[45.851462, -73.245437, 'blue', '
171.9 ¢/Litre
Marie-Victorin / Jacques
Contrecoeur
Sat, 22 Jun 2024 21:56'],
[45.865525, -73.145475, 'blue', '
171.9 ¢/Litre
4950 des patriotes
Contrecoeur
Sat, 22 Jun 2024 21:56'],
[45.596853, -73.522632, 'blue', '
171.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Fri, 21 Jun 2024 17:40'],
[45.574931, -73.876109, 'blue', 'Belisle - 170.9 ¢/Litre
St-Laurent
Saint-Eustache
Sat, 22 Jun 2024 14:55'],
[45.523183, -73.672493, 'blue', '
170.9 ¢/Litre
Cote Vertu / Muir
Saint-Laurent
Fri, 21 Jun 2024 17:52'],
[45.551729, -73.656110, 'blue', '
169.9 ¢/Litre
Lajeunesse / Sauvé
Ahuntsic-Cartierville
Fri, 21 Jun 2024 17:51'],
[45.559403, -73.199348, 'blue', '
169.9 ¢/Litre
180 Chemin des Patriotes Sud
Mont-Saint-Hilaire
Fri, 21 Jun 2024 16:54'],
[45.567523, -73.450137, 'blue', '
168.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Fri, 21 Jun 2024 17:33'],
[45.494872, -73.408831, 'blue', '
168.9 ¢/Litre
Cousineau / Gaetan - Boucher
Saint-Hubert
Fri, 21 Jun 2024 17:36'],
[45.507728, -73.662553, 'blue', '
168.9 ¢/Litre
Côte-de-Liesse / Lucerne
Mont-Royal
Fri, 21 Jun 2024 17:51'],
[45.593235, -73.907617, 'blue', '
168.9 ¢/Litre
25ième ave
Saint-Eustache
Sat, 22 Jun 2024 14:55'],
[45.481291, -73.388865, 'blue', '
168.9 ¢/Litre
Cousineau / Moïse Vincent / Aut 30
Saint-Hubert
Fri, 21 Jun 2024 17:45'],
[45.579334, -73.447128, 'blue', '
168.9 ¢/Litre
Mortagne / Industriel
Boucherville
Fri, 21 Jun 2024 17:34'],
[45.483405, -73.796368, 'blue', '
167.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Fri, 21 Jun 2024 16:00'],
[45.512580, -73.499581, 'blue', '
167.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Fri, 21 Jun 2024 16:00'],
[45.508042, -73.663470, 'blue', '
166.9 ¢/Litre
Ste-Croix / Cote-de-Liesse
Saint-Laurent
Fri, 21 Jun 2024 17:50'],
[45.489274, -73.724608, 'blue', '
165.9 ¢/Litre
8300 Trans Canada (aut 40) / Montee de Liesse
Saint-Laurent
Fri, 21 Jun 2024 17:54'],
[45.547999, -73.495463, 'blue', '
165.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Fri, 21 Jun 2024 15:00'],
[45.538301, -73.480087, 'blue', '
165.9 ¢/Litre
Rolland Therrien / Du Lac
Longueuil
Fri, 21 Jun 2024 17:35'],
[45.607988, -73.584409, 'green', 'Costco - 163.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Fri, 21 Jun 2024 17:45'],
[45.580715, -73.760447, 'green', 'Costco - 161.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Fri, 21 Jun 2024 19:55'],
[45.400803, -73.550399, 'green', '
160.9 ¢/Litre
Marie-Victorin / des Cascades
Sainte-Catherine
Fri, 21 Jun 2024 17:47'],
[45.577602, -73.405821, 'green', 'Costco - 160.9 ¢/Litre
635, chemin de la touraine
Boucherville
Fri, 21 Jun 2024 17:39'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Sat, 22 Jun 2024 13:59'],
[45.536768, -73.499334, 'green', 'Super Gaz - 159.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Fri, 21 Jun 2024 17:37'],
[45.560162, -73.726882, 'green', '
150.0 ¢/Litre
Le Corbusier / Souvenir
Laval
Sat, 22 Jun 2024 09:34']];
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+");});");
}
}