/****
* 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.486097, -73.502496);
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.756258, -73.446908, 'red', '179.9 ¢/Litre
Industriel / Aut 40
Repentigny
Tue, 21 May 2024 11:51'],
[45.428233, -73.153209, 'red', '179.9 ¢/Litre
Claude de Ramezay / Ivanier
Marieville
Tue, 21 May 2024 11:27'],
[45.598601, -73.612245, 'red', '179.9 ¢/Litre
Grandes Prairies / Lacordaire
Saint-Leonard
Tue, 21 May 2024 11:45'],
[45.599692, -73.612264, 'red', '179.9 ¢/Litre
Lacordaire / Grandes Prairies
Saint-Leonard
Tue, 21 May 2024 11:46'],
[45.452802, -73.572274, 'red', '178.9 ¢/Litre
Verdun / Woodland
Verdun
Tue, 21 May 2024 11:42'],
[45.447754, -73.610053, 'red', '178.9 ¢/Litre
Newman / Angrignon
LaSalle
Tue, 21 May 2024 11:43'],
[45.535775, -73.666173, 'red', '178.9 ¢/Litre
lAcadie / Sauvé O
Ahuntsic-Cartierville
Tue, 21 May 2024 11:49'],
[45.533296, -73.656549, 'red', '178.9 ¢/Litre
lAcadie / Chabanel
Ahuntsic-Cartierville
Tue, 21 May 2024 11:49'],
[45.463450, -73.578391, 'red', '178.9 ¢/Litre
1125 Ave de lEglise & Rue Cool
Verdun
Tue, 21 May 2024 11:44'],
[45.464810, -73.585022, 'red', '178.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Tue, 21 May 2024 11:43'],
[45.591175, -73.525419, 'red', '178.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Tue, 21 May 2024 11:32'],
[45.486054, -73.633837, 'red', '178.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Tue, 21 May 2024 11:42'],
[45.467640, -73.538519, 'red', '177.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Tue, 21 May 2024 04:31'],
[45.496101, -73.513824, 'red', '177.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Tue, 21 May 2024 11:41'],
[45.593235, -73.907617, 'red', '177.9 ¢/Litre
25ième ave
Saint-Eustache
Mon, 20 May 2024 14:55'],
[45.455084, -73.443046, 'red', '177.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 21 May 2024 11:38'],
[45.575639, -73.892358, 'red', '177.9 ¢/Litre
Antoine-Séguin/rue Dubois
Saint-Eustache
Mon, 20 May 2024 14:55'],
[45.571185, -73.913286, 'red', '177.9 ¢/Litre
Arthur-Sauvé/Grignon (Hôpital
Saint-Eustache
Mon, 20 May 2024 14:55'],
[45.523183, -73.672493, 'red', '177.9 ¢/Litre
Cote Vertu / Muir
Saint-Laurent
Tue, 21 May 2024 11:48'],
[45.508042, -73.663470, 'red', '177.9 ¢/Litre
Ste-Croix / Cote-de-Liesse
Saint-Laurent
Tue, 21 May 2024 11:48'],
[45.584091, -73.591460, 'red', '177.7 ¢/Litre
Lacordaire / Jarry E
Saint-Leonard
Tue, 21 May 2024 11:45'],
[45.497098, -73.624101, 'blue', '176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Tue, 21 May 2024 11:41'],
[45.495855, -73.654884, 'blue', '176.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Tue, 21 May 2024 11:47'],
[45.652417, -73.536275, 'blue', '176.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Tue, 21 May 2024 11:44'],
[45.495543, -73.655560, 'blue', '176.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Tue, 21 May 2024 11:47'],
[45.574931, -73.876109, 'blue', 'Belisle - 175.9 ¢/Litre
St-Laurent
Saint-Eustache
Mon, 20 May 2024 14:54'],
[45.602901, -73.351848, 'blue', '175.9 ¢/Litre
Mteé Ste-Julie / N-P Lapierre
Sainte-Julie
Tue, 21 May 2024 11:31'],
[45.441121, -73.442392, 'blue', '174.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Tue, 21 May 2024 11:38'],
[45.536768, -73.499334, 'blue', 'Super Gaz - 174.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Tue, 21 May 2024 11:30'],
[45.432634, -73.637114, 'blue', '172.9 ¢/Litre
Dollard / Bédard
LaSalle
Tue, 21 May 2024 11:40'],
[45.432549, -73.628853, 'blue', '171.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Tue, 21 May 2024 11:40'],
[45.436609, -73.625192, 'blue', '171.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 21 May 2024 11:40'],
[45.458885, -73.419335, 'blue', '171.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 21 May 2024 11:37'],
[45.456332, -73.415714, 'blue', '171.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 21 May 2024 11:37'],
[45.470851, -73.564091, 'blue', '171.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Tue, 21 May 2024 11:39'],
[45.471666, -73.563345, 'green', 'Mobil - 170.9 ¢/Litre
3000 Wellington / Gilberte-Dubé / Henri Duhamel
Verdun
Tue, 21 May 2024 11:39'],
[45.585563, -73.326783, 'green', '170.9 ¢/Litre
Fer-à-Cheval / St Joseph / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 21 May 2024 11:29'],
[45.576824, -73.327727, 'green', '170.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 21 May 2024 11:30'],
[45.607988, -73.584409, 'green', 'Costco - 169.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 21 May 2024 11:35'],
[45.721626, -73.506924, 'green', 'Costco - 169.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Mon, 20 May 2024 11:15'],
[45.486768, -73.551440, 'green', 'Costco - 168.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 21 May 2024 11:34'],
[45.433637, -73.477474, 'green', 'Costco - 168.9 ¢/Litre
Taschereau / Matte
Brossard
Tue, 21 May 2024 11:34'],
[45.371582, -73.515440, 'green', 'Costco - 167.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Tue, 21 May 2024 11:33'],
[45.684327, -73.435514, 'green', '166.9 ¢/Litre
Marie-Victorin / Vincent
Varennes
Tue, 21 May 2024 11:50'],
[45.577050, -73.403659, 'green', 'Costco - 166.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 21 May 2024 11:29'],
[45.577602, -73.405821, 'green', 'Costco - 166.9 ¢/Litre
635 ch de Touraine
Boucherville
Tue, 21 May 2024 11:23'],
[45.338756, -73.286105, 'green', '166.9 ¢/Litre
1315 rue Douglas
Saint-Jean-sur-Richelieu
Tue, 21 May 2024 11:36'],
[45.580715, -73.760447, 'green', 'Costco - 164.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Tue, 21 May 2024 03:17'],
[45.355527, -73.297120, 'green', '162.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Tue, 21 May 2024 11:36'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 161.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Tue, 21 May 2024 11:35']];
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+");});");
}
}