/****
* 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.683373, -73.432915);
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.470437, -73.495625, 'red', '179.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Wed, 22 May 2024 07:30'],
[45.435239, -73.489912, 'red', '179.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Wed, 22 May 2024 09:37'],
[45.470785, -73.468103, 'red', '179.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Wed, 22 May 2024 08:30'],
[45.457416, -73.492229, 'red', '179.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Wed, 22 May 2024 09:33'],
[45.456673, -73.492141, 'red', '179.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Wed, 22 May 2024 09:33'],
[45.471419, -73.648055, 'red', '179.9 ¢/Litre
Cote St Luc / Cavendish
Notre-Dame-de-Grâce
Wed, 22 May 2024 09:33'],
[45.464810, -73.585022, 'red', '179.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Wed, 22 May 2024 09:32'],
[45.549520, -73.219972, 'red', '179.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Wed, 22 May 2024 08:00'],
[45.767198, -73.444897, 'red', '179.9 ¢/Litre
Valmont / Aut 40
Repentigny
Wed, 22 May 2024 09:55'],
[45.454885, -73.465571, 'red', '179.9 ¢/Litre
Taschereau / Rome
Brossard
Wed, 22 May 2024 09:38'],
[45.510830, -73.806914, 'red', '179.9 ¢/Litre
Gouin / Centre Commercial
Roxboro
Wed, 22 May 2024 09:30'],
[45.529366, -73.481586, 'red', '179.9 ¢/Litre
Chambly / Curé Poirier
Longueuil
Wed, 22 May 2024 09:41'],
[45.467640, -73.538519, 'red', '178.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Thu, 23 May 2024 14:01'],
[45.520053, -73.318720, 'red', '178.9 ¢/Litre
Sir Wilfrid Laurier / de Boucherville
Saint-Bruno-de-Montarville
Thu, 23 May 2024 15:52'],
[45.408875, -73.472737, 'red', '177.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Wed, 22 May 2024 08:30'],
[45.567869, -73.522612, 'red', '177.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Thu, 23 May 2024 15:46'],
[45.455084, -73.443046, 'red', '177.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Thu, 23 May 2024 15:51'],
[45.524679, -73.338112, 'blue', '176.9 ¢/Litre
Montarville / Seigneurial
Saint-Bruno-de-Montarville
Thu, 23 May 2024 15:51'],
[45.496101, -73.513824, 'blue', '176.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Thu, 23 May 2024 14:30'],
[45.521714, -73.463444, 'blue', '176.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Wed, 22 May 2024 08:00'],
[45.594512, -73.212328, 'blue', '176.9 ¢/Litre
265 Boul De Lindustrie
Beloeil
Thu, 23 May 2024 06:52'],
[45.462287, -73.453165, 'blue', '176.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Wed, 22 May 2024 09:00'],
[45.521868, -73.463538, 'blue', '176.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Wed, 22 May 2024 08:00'],
[45.406872, -73.497527, 'blue', '175.9 ¢/Litre
Taschereau / Salaberry
La Prairie
Wed, 22 May 2024 08:30'],
[45.414839, -73.485305, 'blue', '175.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Wed, 22 May 2024 09:35'],
[45.477996, -73.386635, 'blue', '175.9 ¢/Litre
Cousineau / Aut 30
Saint-Hubert
Thu, 23 May 2024 15:50'],
[45.865525, -73.145475, 'blue', '175.9 ¢/Litre
4950 des patriotes
Contrecoeur
Thu, 23 May 2024 10:11'],
[45.851462, -73.245437, 'blue', '175.9 ¢/Litre
Marie-Victorin / Jacques
Contrecoeur
Thu, 23 May 2024 10:12'],
[45.596853, -73.522632, 'blue', '175.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Wed, 22 May 2024 09:39'],
[45.614041, -73.442844, 'blue', '175.9 ¢/Litre
Montbrun / Général Vanier
Boucherville
Thu, 23 May 2024 15:45'],
[45.635377, -73.316982, 'blue', '175.0 ¢/Litre
Principale / Adam
Saint-Amable
Wed, 22 May 2024 09:53'],
[45.496541, -73.484126, 'blue', '174.9 ¢/Litre
Taschereau / Mary
Greenfield Park
Thu, 23 May 2024 15:54'],
[45.499602, -73.750851, 'blue', '174.9 ¢/Litre
Pitfield / Aut 13 / Valiquette
Saint-Laurent
Wed, 22 May 2024 09:26'],
[45.459100, -73.256330, 'blue', '174.9 ¢/Litre
123 CH des Patriotes
Saint-Mathias-sur-Richelieu
Thu, 23 May 2024 15:50'],
[45.592164, -73.198038, 'blue', '174.9 ¢/Litre
200 rue Serge- Pépin
Beloeil
Thu, 23 May 2024 06:50'],
[45.542527, -73.187177, 'blue', '174.9 ¢/Litre
Ozias-Leduc / de la Montagne
Otterburn Park
Wed, 22 May 2024 09:53'],
[45.542687, -73.455710, 'blue', '172.9 ¢/Litre
Jacques-Cartier-E/ Du Tremblay
Longueuil
Thu, 23 May 2024 15:43'],
[45.529202, -73.512815, 'blue', '172.9 ¢/Litre
St-Laurent / Joliette
Longueuil
Thu, 23 May 2024 15:52'],
[45.529330, -73.512732, 'blue', '172.9 ¢/Litre
St-Laurent / Joliette
Longueuil
Thu, 23 May 2024 15:53'],
[45.536265, -73.513074, 'blue', '172.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Thu, 23 May 2024 15:54'],
[45.744587, -73.455319, 'blue', '172.9 ¢/Litre
Brien / Leclerc
Repentigny
Wed, 22 May 2024 09:55'],
[45.838454, -73.413745, 'green', '172.0 ¢/Litre
Ange-Gardien / Point du Jour N
LAssomption
Thu, 23 May 2024 07:42'],
[45.470851, -73.564091, 'green', '171.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Wed, 22 May 2024 09:31'],
[45.447681, -73.609652, 'green', '171.9 ¢/Litre
Boulevard Angrigon / Boulevard Newman
LaSalle
Thu, 23 May 2024 15:34'],
[45.721453, -73.508422, 'green', 'Costco - 169.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Wed, 22 May 2024 09:47'],
[45.521972, -73.463278, 'green', '168.9 ¢/Litre
2715 Chemin de Chambly
Longueuil
Thu, 23 May 2024 17:51'],
[45.607988, -73.584409, 'green', 'Costco - 168.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Thu, 23 May 2024 15:48'],
[45.485789, -73.553621, 'green', 'Costco - 168.9 ¢/Litre
300, rue Bridge
Montréal
Wed, 22 May 2024 19:09'],
[45.433637, -73.477474, 'green', 'Costco - 167.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 22 May 2024 09:34'],
[45.371582, -73.515440, 'green', 'Costco - 167.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Thu, 23 May 2024 15:47'],
[45.577602, -73.405821, 'green', 'Costco - 166.9 ¢/Litre
635 ch de Touraine
Boucherville
Thu, 23 May 2024 11:18'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 165.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Thu, 23 May 2024 09:40'],
[45.686705, -73.432357, 'green', '165.9 ¢/Litre
Marie-Victorin / Quévillon
Varennes
Thu, 23 May 2024 09:39'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 164.9 ¢/Litre
8855 ch chambly
Longuueil
Thu, 23 May 2024 07:59'],
[45.439112, -73.190249, 'green', 'Pétrole Maurice - 164.9 ¢/Litre
chemin chambly
Saint-Hubert
Thu, 23 May 2024 07:59'],
[45.580715, -73.760447, 'green', 'Costco - 164.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Thu, 23 May 2024 14:02'],
[45.475969, -73.361190, 'green', 'Pétrole Maurice - 164.9 ¢/Litre
Chambly / Daniel
Saint-Hubert
Thu, 23 May 2024 07:59']];
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+");});");
}
}