/****
* 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=e *
****/
function mapload() {
var latlng = new google.maps.LatLng(45.448652, -73.817095);
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.467640, -73.538519, 'red', '177.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Sat, 29 Jun 2024 06:29'],
[45.486616, -73.636535, 'red', '177.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Fri, 28 Jun 2024 11:37'],
[45.486054, -73.633837, 'red', '177.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Fri, 28 Jun 2024 11:36'],
[45.528020, -73.478252, 'red', '176.9 ¢/Litre
Chambly / Benoît
Longueuil
Thu, 27 Jun 2024 13:00'],
[45.591175, -73.525419, 'red', '176.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Fri, 28 Jun 2024 17:24'],
[45.445236, -73.438325, 'red', '176.9 ¢/Litre
Leduc / Lepage
Brossard
Fri, 28 Jun 2024 11:33'],
[45.547999, -73.495463, 'red', '175.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Fri, 28 Jun 2024 17:08'],
[45.538301, -73.480087, 'red', '175.9 ¢/Litre
Rolland Therrien / Du Lac
Longueuil
Fri, 28 Jun 2024 17:08'],
[45.494872, -73.408831, 'red', '175.9 ¢/Litre
Cousineau / Gaetan - Boucher
Saint-Hubert
Thu, 27 Jun 2024 14:00'],
[45.575530, -73.874862, 'red', '175.9 ¢/Litre
25e Avenue / St-Laurent
Saint-Eustache
Wed, 26 Jun 2024 15:02'],
[45.576640, -73.446699, 'red', '175.9 ¢/Litre
Mortagne / Parfondeval
Boucherville
Thu, 27 Jun 2024 12:00'],
[45.512580, -73.499581, 'red', '175.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Fri, 28 Jun 2024 17:20'],
[45.620712, -73.455464, 'red', '175.9 ¢/Litre
Marie Victorin / Jacques Racicot
Boucherville
Wed, 26 Jun 2024 12:47'],
[45.494571, -73.500633, 'red', '175.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Wed, 26 Jun 2024 12:52'],
[45.506039, -73.430198, 'red', '175.9 ¢/Litre
Cousineau / Chambly
Saint-Hubert
Wed, 26 Jun 2024 12:53'],
[45.496101, -73.513824, 'red', '175.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Wed, 26 Jun 2024 12:00'],
[45.592253, -73.592148, 'red', '175.9 ¢/Litre
Robert / Albanel
Saint-Leonard
Fri, 28 Jun 2024 11:40'],
[45.593235, -73.907617, 'red', '175.9 ¢/Litre
25ième ave
Saint-Eustache
Wed, 26 Jun 2024 15:02'],
[45.575375, -73.446954, 'red', '174.9 ¢/Litre
Mortagne / Ampére
Boucherville
Thu, 27 Jun 2024 13:54'],
[45.579334, -73.447128, 'red', '174.9 ¢/Litre
Mortagne / Industriel
Boucherville
Thu, 27 Jun 2024 13:58'],
[45.567928, -73.450352, 'red', '174.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Fri, 28 Jun 2024 17:09'],
[45.567523, -73.450137, 'red', '174.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Fri, 28 Jun 2024 17:09'],
[45.568999, -73.443687, 'red', '174.9 ¢/Litre
Nobel / Volta
Boucherville
Fri, 28 Jun 2024 10:00'],
[45.524007, -73.495670, 'red', 'Ekonogaz - 174.9 ¢/Litre
Ste-Foy / Emma
Longueuil
Wed, 26 Jun 2024 12:52'],
[45.582704, -73.426126, 'red', '174.9 ¢/Litre
Montarville / Normandie
Boucherville
Thu, 27 Jun 2024 13:57'],
[45.595021, -73.576689, 'blue', '173.9 ¢/Litre
Aut 40 / Langelier
Saint-Leonard
Fri, 28 Jun 2024 11:39'],
[45.596853, -73.522632, 'blue', '173.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Fri, 28 Jun 2024 17:22'],
[45.421724, -73.635371, 'blue', '173.9 ¢/Litre
Airlie / 80e Ave
LaSalle
Fri, 28 Jun 2024 11:36'],
[45.470785, -73.468103, 'blue', '172.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Fri, 28 Jun 2024 11:34'],
[45.542687, -73.455710, 'blue', '172.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Thu, 27 Jun 2024 13:55'],
[45.574931, -73.876109, 'blue', 'Belisle - 172.9 ¢/Litre
St-Laurent
Saint-Eustache
Fri, 28 Jun 2024 10:52'],
[45.536265, -73.513074, 'blue', '171.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Fri, 28 Jun 2024 17:20'],
[45.536768, -73.499334, 'blue', 'Super Gaz - 171.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Fri, 28 Jun 2024 11:26'],
[45.614041, -73.442844, 'red', '171.9 ¢/Litre
Montbrun / Général Vanier
Boucherville
Wed, 26 Jun 2024 12:46'],
[45.560186, -73.887346, 'blue', '171.9 ¢/Litre
22 Boul Arthur-Sauvé & Rue St-Louis
Saint-Eustache
Thu, 27 Jun 2024 15:05'],
[45.473253, -73.402898, 'blue', '170.9 ¢/Litre
Cousineau / Moïse Vincent
Saint-Hubert
Fri, 28 Jun 2024 11:32'],
[45.481291, -73.388865, 'blue', '170.9 ¢/Litre
Cousineau / Moïse Vincent / Aut 30
Saint-Hubert
Fri, 28 Jun 2024 11:31'],
[45.568407, -73.887552, 'blue', '170.9 ¢/Litre
Saint-Laurent / boul. goyer
Saint-Eustache
Thu, 27 Jun 2024 15:05'],
[45.447681, -73.609652, 'blue', '169.9 ¢/Litre
Boulevard Angrigon / Boulevard Newman
LaSalle
Thu, 27 Jun 2024 13:31'],
[45.481980, -73.464589, 'red', '169.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Wed, 26 Jun 2024 12:00'],
[45.503734, -73.420799, 'red', '169.9 ¢/Litre
5335 Ch Chambly / Gelineau
Saint-Hubert
Wed, 26 Jun 2024 12:50'],
[45.521868, -73.463538, 'green', '167.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Fri, 28 Jun 2024 17:19'],
[45.495146, -73.409293, 'green', '165.9 ¢/Litre
Cousineau / Gaétan Boucher
Saint-Hubert
Thu, 27 Jun 2024 14:02'],
[45.486768, -73.551440, 'red', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Wed, 26 Jun 2024 11:00'],
[45.456332, -73.415714, 'green', '164.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Fri, 28 Jun 2024 15:30'],
[45.462287, -73.453165, 'green', '164.3 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Fri, 28 Jun 2024 15:30'],
[45.607988, -73.584409, 'green', 'Costco - 163.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Fri, 28 Jun 2024 17:18'],
[45.479275, -73.465158, 'green', '162.9 ¢/Litre
Taschereau / Angèle
Brossard
Thu, 27 Jun 2024 12:30'],
[45.721453, -73.508422, 'green', 'Costco - 162.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Fri, 28 Jun 2024 11:52'],
[45.580715, -73.760447, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Sat, 29 Jun 2024 06:27'],
[45.475037, -73.358947, 'green', 'Pétrole Maurice - 162.9 ¢/Litre
Chemin Chambly / Montée Daniel
Saint-Hubert
Fri, 28 Jun 2024 17:14'],
[45.561464, -73.785208, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut 440 / Aut 15
Laval
Sat, 29 Jun 2024 08:20'],
[45.371582, -73.515440, 'green', 'Costco - 161.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Fri, 28 Jun 2024 17:17'],
[45.404236, -74.037960, 'green', 'Costco - 161.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Fri, 28 Jun 2024 17:17'],
[45.433637, -73.477474, 'green', 'Costco - 160.9 ¢/Litre
Taschereau / Matte
Brossard
Fri, 28 Jun 2024 17:12'],
[45.577602, -73.405821, 'green', 'Costco - 160.8 ¢/Litre
635 ch de Touraine
Boucherville
Fri, 28 Jun 2024 10:16'],
[45.577739, -73.405651, 'green', 'Costco - 160.8 ¢/Litre
635 Ch de Touraine
Boucherville
Fri, 28 Jun 2024 17:09']];
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+");});");
}
}