/****
* 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.533375, -73.282911);
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.375490, -73.368060, 'red', '185.9 ¢/Litre
1115 Blvd Saint-Luc/des Pins
Saint-Philippe
Fri, 03 May 2024 22:56'],
[45.591175, -73.525419, 'red', '185.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Sat, 04 May 2024 10:30'],
[45.514231, -73.132863, 'red', '180.9 ¢/Litre
Principale / Rouville
Saint-Jean-Baptiste
Thu, 02 May 2024 16:15'],
[45.475831, -73.361552, 'blue', 'Pétrole Maurice - 180.9 ¢/Litre
8855 ch chambly
Longuueil
Sat, 04 May 2024 15:38'],
[45.439112, -73.190249, 'blue', 'Pétrole Maurice - 180.9 ¢/Litre
chemin chambly
Saint-Hubert
Sat, 04 May 2024 15:39'],
[45.475969, -73.361190, 'blue', 'Pétrole Maurice - 180.9 ¢/Litre
Chambly / Daniel
Saint-Hubert
Sat, 04 May 2024 15:40'],
[45.435239, -73.489912, 'blue', '179.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Sat, 04 May 2024 13:11'],
[45.471419, -73.648055, 'blue', '179.9 ¢/Litre
Cote St Luc / Cavendish
Notre-Dame-de-Grâce
Fri, 03 May 2024 23:05'],
[45.503734, -73.420799, 'blue', '179.9 ¢/Litre
5335 Ch Chambly / Gelineau
Saint-Hubert
Sat, 04 May 2024 13:11'],
[45.567869, -73.522612, 'blue', '179.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Sat, 04 May 2024 11:30'],
[45.509854, -73.687819, 'blue', '179.9 ¢/Litre
Marcel-Laurin / Côte-Vertu
Saint-Laurent
Fri, 03 May 2024 23:10'],
[45.596853, -73.522632, 'blue', '179.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Sat, 04 May 2024 11:30'],
[45.595107, -73.511586, 'blue', '179.9 ¢/Litre
Notre-Dame / St Donat
Hochelaga-Maisonneuve
Sat, 04 May 2024 11:30'],
[45.540392, -73.368003, 'blue', '179.9 ¢/Litre
Montarville / Parent / Aut 30 (Sortie 121)
Saint-Bruno-de-Montarville
Sat, 04 May 2024 13:03'],
[45.582704, -73.426126, 'blue', '179.9 ¢/Litre
Montarville / Normandie
Boucherville
Sat, 04 May 2024 13:00'],
[45.538301, -73.480087, 'blue', '179.9 ¢/Litre
Rolland Therrien / Du Lac
Longueuil
Fri, 03 May 2024 21:30'],
[45.467640, -73.538519, 'blue', '179.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Sat, 04 May 2024 15:37'],
[45.567408, -73.406653, 'blue', '179.9 ¢/Litre
Montarville / Eifel
Boucherville
Sat, 04 May 2024 13:05'],
[45.520053, -73.318720, 'blue', '179.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Fri, 03 May 2024 22:55'],
[45.377717, -73.373281, 'blue', '179.9 ¢/Litre
1149 Boul.St-Luc / Ruisseau Desnoyers
Saint-Jean-sur-Richelieu
Fri, 03 May 2024 22:55'],
[45.464810, -73.585022, 'blue', '179.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Sat, 04 May 2024 13:20'],
[45.431217, -73.618933, 'blue', '179.9 ¢/Litre
Shevchencko / Jean-Brillon
LaSalle
Sat, 04 May 2024 13:20'],
[45.469156, -73.649957, 'blue', '179.9 ¢/Litre
Cote St Luc / Montclair
Côte-Saint-Luc
Sat, 04 May 2024 13:19'],
[45.470437, -73.495625, 'blue', '179.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Sat, 04 May 2024 12:00'],
[45.470898, -73.496523, 'blue', '179.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Sat, 04 May 2024 12:00'],
[45.408970, -73.472702, 'blue', '179.9 ¢/Litre
St-Jean / Palerme
La Prairie
Sat, 04 May 2024 13:12'],
[45.408875, -73.472737, 'blue', '179.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Sat, 04 May 2024 13:12'],
[45.592500, -73.342699, 'blue', '179.3 ¢/Litre
Auto20/sortie 102
Sainte-Julie
Fri, 03 May 2024 06:49'],
[45.414839, -73.485305, 'blue', '178.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Sat, 04 May 2024 13:11'],
[45.454885, -73.465571, 'blue', '178.9 ¢/Litre
Taschereau / Rome
Brossard
Sat, 04 May 2024 13:10'],
[45.455117, -73.632777, 'blue', '178.9 ¢/Litre
St-Jacques / St-Anne-de-Bellevue
Notre-Dame-de-Grâce
Fri, 03 May 2024 23:03'],
[45.490100, -73.567215, 'blue', '178.9 ¢/Litre
Guy / Notre Dame O.
Le Sud-Ouest
Fri, 03 May 2024 22:00'],
[45.614041, -73.442844, 'blue', '177.9 ¢/Litre
Montbrun / Général Vanier
Boucherville
Sat, 04 May 2024 13:03'],
[45.420024, -73.486377, 'blue', '177.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Sat, 04 May 2024 13:08'],
[45.496541, -73.484126, 'blue', '177.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Sat, 04 May 2024 11:00'],
[45.493326, -73.478896, 'blue', '177.9 ¢/Litre
Taschereau / Georges
Saint-Hubert
Sat, 04 May 2024 11:00'],
[45.547999, -73.495463, 'blue', '177.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Fri, 03 May 2024 21:30'],
[45.470785, -73.468103, 'blue', '177.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Fri, 03 May 2024 22:52'],
[45.493703, -73.479352, 'blue', '177.9 ¢/Litre
Taschereau / Georges
Greenfield Park
Sat, 04 May 2024 11:00'],
[45.476955, -73.429460, 'blue', '177.5 ¢/Litre
Gaétan Boucher / Payer
Saint-Hubert
Fri, 03 May 2024 22:51'],
[45.481980, -73.464589, 'blue', '177.5 ¢/Litre
Taschereau / Adam
Greenfield Park
Fri, 03 May 2024 22:51'],
[45.565770, -73.647547, 'blue', '175.9 ¢/Litre
Papineau / Sauvé E
Ahuntsic-Cartierville
Fri, 03 May 2024 21:30'],
[45.371582, -73.515440, 'blue', 'Costco - 175.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Sat, 04 May 2024 13:18'],
[45.458885, -73.419335, 'blue', '175.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Sat, 04 May 2024 13:06'],
[45.458904, -73.419386, 'blue', '175.9 ¢/Litre
Grande-Allée / Du Quartier
Brossard
Sat, 04 May 2024 13:08'],
[45.456332, -73.415714, 'blue', '175.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Sat, 04 May 2024 13:08'],
[45.519459, -73.457760, 'green', '174.9 ¢/Litre
Chambly / dés Ormeaux
Longueuil
Fri, 03 May 2024 22:58'],
[45.576935, -73.327703, 'green', '174.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Sat, 04 May 2024 13:02'],
[45.518884, -73.456728, 'green', '174.9 ¢/Litre
Chambly / Des Ormeaux
Longueuil
Fri, 03 May 2024 22:59'],
[45.486768, -73.551440, 'green', 'Costco - 174.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Sat, 04 May 2024 13:18'],
[45.529366, -73.481586, 'green', '174.9 ¢/Litre
Chambly / Curé Poirier
Longueuil
Fri, 03 May 2024 22:57'],
[45.511796, -73.439486, 'green', '174.9 ¢/Litre
Chambly / Vauquelin
Saint-Hubert
Fri, 03 May 2024 22:59'],
[45.542687, -73.455710, 'green', '174.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Fri, 03 May 2024 21:00'],
[45.576824, -73.327727, 'green', '174.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Sat, 04 May 2024 13:02'],
[45.433637, -73.477474, 'green', 'Costco - 173.9 ¢/Litre
Taschereau / Matte
Brossard
Sat, 04 May 2024 13:07'],
[45.577602, -73.405821, 'green', 'Costco - 173.9 ¢/Litre
635 ch de Touraine
Boucherville
Sat, 04 May 2024 12:48'],
[45.607988, -73.584409, 'green', 'Costco - 173.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Sat, 04 May 2024 13:17'],
[45.577050, -73.403659, 'green', 'Costco - 173.9 ¢/Litre
635 ch de Touraine
Boucherville
Sat, 04 May 2024 13:01'],
[45.306225, -73.283867, 'green', '173.9 ¢/Litre
Industriel/St Jacques
Saint-Jean-sur-Richelieu
Fri, 03 May 2024 11:12'],
[45.521714, -73.463444, 'green', '172.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Fri, 03 May 2024 22:57'],
[45.521868, -73.463538, 'green', '172.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Fri, 03 May 2024 22:56'],
[45.352015, -73.293630, 'green', '172.9 ¢/Litre
St-Luc / Bernier / des Échevins
Saint-Jean-sur-Richelieu
Sat, 04 May 2024 13:16'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 170.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Sat, 04 May 2024 09:12'],
[45.686705, -73.432357, 'green', '170.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Sat, 04 May 2024 09:12'],
[45.355527, -73.297120, 'green', '169.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Sat, 04 May 2024 13:15'],
[45.338756, -73.286105, 'green', '169.9 ¢/Litre
1315 rue Douglas
Saint-Jean-sur-Richelieu
Sat, 04 May 2024 13:14'],
[45.333285, -73.294644, 'green', '169.9 ¢/Litre
Omer-Marcil / Alexis Lebert
Saint-Jean-sur-Richelieu
Sat, 04 May 2024 23:54'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 168.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Sat, 04 May 2024 13:13']];
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+");});");
}
}