/****
* 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.305772, -73.254490);
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.464810, -73.585022, 'red', '179.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Wed, 22 May 2024 08:32'],
[45.549520, -73.219972, 'red', '179.9 ¢/Litre
Sir Wilfrid Laurier / Bernard Pilon
Beloeil
Wed, 22 May 2024 07:00'],
[45.524679, -73.338112, 'red', '179.9 ¢/Litre
Montarville / Seigneurial
Saint-Bruno-de-Montarville
Wed, 22 May 2024 06:30'],
[45.529366, -73.481586, 'red', '179.9 ¢/Litre
Chambly / Curé Poirier
Longueuil
Wed, 22 May 2024 08:41'],
[45.454885, -73.465571, 'red', '179.9 ¢/Litre
Taschereau / Rome
Brossard
Wed, 22 May 2024 08:38'],
[45.470785, -73.468103, 'red', '179.9 ¢/Litre
Taschereau / Lapiniére
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 08:37'],
[45.471419, -73.648055, 'red', '179.9 ¢/Litre
Cote St Luc / Cavendish
Notre-Dame-de-Grâce
Wed, 22 May 2024 08:33'],
[45.428233, -73.153209, 'red', '179.9 ¢/Litre
Claude de Ramezay / Ivanier
Marieville
Tue, 21 May 2024 10:27'],
[45.457416, -73.492229, 'red', '179.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Wed, 22 May 2024 08:33'],
[45.470437, -73.495625, 'red', '179.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Wed, 22 May 2024 06:30'],
[45.456673, -73.492141, 'red', '179.9 ¢/Litre
Marie-Victorin / Rome
Brossard
Wed, 22 May 2024 08:33'],
[45.463450, -73.578391, 'red', '178.9 ¢/Litre
1125 Ave de lEglise & Rue Cool
Verdun
Tue, 21 May 2024 10:44'],
[45.447754, -73.610053, 'red', '178.9 ¢/Litre
Newman / Angrignon
LaSalle
Tue, 21 May 2024 10:43'],
[45.486054, -73.633837, 'red', '178.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Tue, 21 May 2024 10:42'],
[45.452802, -73.572274, 'red', '178.9 ¢/Litre
Verdun / Woodland
Verdun
Tue, 21 May 2024 10:42'],
[45.467640, -73.538519, 'red', '177.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Tue, 21 May 2024 11:38'],
[45.455084, -73.443046, 'red', '177.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 21 May 2024 10:38'],
[45.408875, -73.472737, 'red', '177.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Wed, 22 May 2024 07:30'],
[45.496101, -73.513824, 'red', '177.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Tue, 21 May 2024 10:41'],
[45.497098, -73.624101, 'blue', '176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Tue, 21 May 2024 10:41'],
[45.462287, -73.453165, 'blue', '176.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Wed, 22 May 2024 08:00'],
[45.521868, -73.463538, 'blue', '176.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Wed, 22 May 2024 07:00'],
[45.521714, -73.463444, 'blue', '176.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Wed, 22 May 2024 07:00'],
[45.495543, -73.655560, 'blue', '176.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Tue, 21 May 2024 10:47'],
[45.495855, -73.654884, 'blue', '176.9 ¢/Litre
Décarie / Paré
Côte-des-Neiges
Tue, 21 May 2024 10:47'],
[45.652417, -73.536275, 'blue', '176.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Tue, 21 May 2024 10:44'],
[45.602901, -73.351848, 'blue', '175.9 ¢/Litre
Mteé Ste-Julie / N-P Lapierre
Sainte-Julie
Tue, 21 May 2024 10:31'],
[45.414839, -73.485305, 'blue', '175.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Wed, 22 May 2024 08:35'],
[45.406872, -73.497527, 'blue', '175.9 ¢/Litre
Taschereau / Salaberry
La Prairie
Wed, 22 May 2024 07:30'],
[45.542527, -73.187177, 'blue', '174.9 ¢/Litre
Ozias-Leduc / de la Montagne
Otterburn Park
Wed, 22 May 2024 08:53'],
[45.441121, -73.442392, 'blue', '174.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Tue, 21 May 2024 10:38'],
[45.536768, -73.499334, 'blue', 'Super Gaz - 174.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Tue, 21 May 2024 10:30'],
[45.287357, -72.997668, 'blue', '173.9 ¢/Litre
Rue principale.
Farnham
Tue, 21 May 2024 10:26'],
[45.287199, -72.992513, 'blue', '173.9 ¢/Litre
Principale (Rte 104) / Rte 235
Farnham
Tue, 21 May 2024 10:25'],
[45.329043, -72.817201, 'blue', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Wed, 22 May 2024 08:57'],
[45.432634, -73.637114, 'blue', '172.9 ¢/Litre
Dollard / Bédard
LaSalle
Tue, 21 May 2024 10:40'],
[45.342316, -72.783502, 'blue', '172.9 ¢/Litre
Rte 139 / Aut 10 (Sortie 68)
Saint-Alphonse-de-Granby
Wed, 22 May 2024 08:57'],
[45.456332, -73.415714, 'blue', '171.9 ¢/Litre
Grande Allée / Aut 30
Brossard
Tue, 21 May 2024 10:37'],
[45.470851, -73.564091, 'blue', '171.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Wed, 22 May 2024 08:31'],
[45.458885, -73.419335, 'blue', '171.9 ¢/Litre
Grande Allée / du Quartier / Moïse Vincent
Saint-Hubert
Tue, 21 May 2024 10:37'],
[45.432549, -73.628853, 'blue', '171.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Tue, 21 May 2024 10:40'],
[45.436609, -73.625192, 'blue', '171.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 21 May 2024 10:40'],
[45.576824, -73.327727, 'green', '170.9 ¢/Litre
Fer-à-Cheval / Nobel / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 21 May 2024 10:30'],
[45.585563, -73.326783, 'green', '170.9 ¢/Litre
Fer-à-Cheval / St Joseph / Aut 20 (Sortie 102)
Sainte-Julie
Tue, 21 May 2024 10:29'],
[45.471666, -73.563345, 'green', 'Mobil - 170.9 ¢/Litre
3000 Wellington / Gilberte-Dubé / Henri Duhamel
Verdun
Tue, 21 May 2024 10:39'],
[45.352015, -73.293630, 'green', '169.9 ¢/Litre
St-Luc / Bernier / des Échevins
Saint-Jean-sur-Richelieu
Wed, 22 May 2024 08:50'],
[45.362053, -73.307166, 'green', '169.9 ¢/Litre
St-Luc / Bélair
Saint-Jean-sur-Richelieu
Wed, 22 May 2024 08:50'],
[45.355527, -73.297120, 'green', '169.9 ¢/Litre
St-Luc / De La Mairie
Saint-Jean-sur-Richelieu
Wed, 22 May 2024 08:49'],
[45.485789, -73.553621, 'green', 'Costco - 168.9 ¢/Litre
300, rue Bridge
Montréal
Wed, 22 May 2024 18:09'],
[45.486768, -73.551440, 'green', 'Costco - 168.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Tue, 21 May 2024 10:34'],
[45.371582, -73.515440, 'green', 'Costco - 167.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Wed, 22 May 2024 08:46'],
[45.433637, -73.477474, 'green', 'Costco - 167.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 22 May 2024 08:34'],
[45.338756, -73.286105, 'green', '166.9 ¢/Litre
1315 rue Douglas
Saint-Jean-sur-Richelieu
Tue, 21 May 2024 10:36'],
[45.351623, -73.292885, 'green', 'Pétrole Maurice - 161.9 ¢/Litre
St Luc / des Échevins / Bernier
Saint-Jean-sur-Richelieu
Wed, 22 May 2024 16:30'],
[45.333285, -73.294644, 'green', '161.9 ¢/Litre
Omer-Marcil / Alexis Lebert
Saint-Jean-sur-Richelieu
Wed, 22 May 2024 17:02']];
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+");});");
}
}