/****
* 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.316709, -73.749595);
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.591175, -73.525419, 'red', '170.9 ¢/Litre
Hochelaga / Curatteau / Aut 25
Hochelaga-Maisonneuve
Thu, 06 Jun 2024 17:00'],
[45.596853, -73.522632, 'red', '169.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Thu, 06 Jun 2024 18:21'],
[45.470898, -73.496523, 'red', '169.9 ¢/Litre
Marie Victorin / Provencher
Brossard
Fri, 07 Jun 2024 09:49'],
[45.515478, -73.490700, 'red', '169.9 ¢/Litre
Curé Poirier / Ste-Hélène
Longueuil
Thu, 06 Jun 2024 18:26'],
[45.455084, -73.443046, 'red', '169.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Thu, 06 Jun 2024 16:30'],
[45.470437, -73.495625, 'red', '169.9 ¢/Litre
Marie-Victorin / Provencher
Brossard
Fri, 07 Jun 2024 09:49'],
[45.574931, -73.876109, 'red', 'Belisle - 169.9 ¢/Litre
St-Laurent
Saint-Eustache
Sun, 09 Jun 2024 10:11'],
[45.467640, -73.538519, 'red', '169.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Sat, 08 Jun 2024 18:22'],
[45.593235, -73.907617, 'red', '169.9 ¢/Litre
25ième ave
Saint-Eustache
Fri, 07 Jun 2024 10:56'],
[45.567523, -73.450137, 'red', '169.9 ¢/Litre
Jacques Cartier / Du Lac
Longueuil
Fri, 07 Jun 2024 09:53'],
[45.470420, -73.832197, 'red', '168.9 ¢/Litre
St Jean / Devon
Dollard-des-Ormeaux
Fri, 07 Jun 2024 01:49'],
[45.464810, -73.585022, 'red', '168.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Thu, 06 Jun 2024 23:30'],
[45.496101, -73.513824, 'red', '168.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Fri, 07 Jun 2024 09:50'],
[45.449479, -73.855608, 'red', '167.9 ¢/Litre
St Charles / Hymus
Kirkland
Fri, 07 Jun 2024 01:49'],
[45.525696, -73.551544, 'blue', '166.9 ¢/Litre
De Maisonneuve / De Lorimier
Ville-Marie (Montreal)
Thu, 06 Jun 2024 18:25'],
[45.447459, -73.610181, 'red', '166.9 ¢/Litre
boul.newmen/angrignon
LaSalle
Thu, 06 Jun 2024 14:03'],
[45.536768, -73.499334, 'red', 'Super Gaz - 165.9 ¢/Litre
Chambly / Le Moyne
Longueuil
Thu, 06 Jun 2024 15:30'],
[45.567869, -73.522612, 'blue', '165.9 ¢/Litre
Notre-Dame E / Bossuet
Hochelaga-Maisonneuve
Thu, 06 Jun 2024 18:25'],
[45.458904, -73.419386, 'blue', '164.9 ¢/Litre
Grande-Allée / Du Quartier
Brossard
Thu, 06 Jun 2024 18:33'],
[45.495558, -73.474528, 'blue', '164.9 ¢/Litre
Grande Allée / Albert
Saint-Hubert
Thu, 06 Jun 2024 18:24'],
[45.470785, -73.468103, 'blue', '164.3 ¢/Litre
Taschereau / Lapiniére
Brossard
Thu, 06 Jun 2024 18:27'],
[45.456332, -73.415714, 'blue', '164.3 ¢/Litre
Grande Allée / Aut 30
Brossard
Thu, 06 Jun 2024 18:27'],
[45.479275, -73.465158, 'blue', '164.3 ¢/Litre
Taschereau / Angèle
Brossard
Thu, 06 Jun 2024 18:28'],
[45.483405, -73.796368, 'blue', '163.9 ¢/Litre
Sources / Brunswick
Dollard-des-Ormeaux
Fri, 07 Jun 2024 01:48'],
[45.607988, -73.584409, 'green', 'Costco - 162.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Sat, 08 Jun 2024 11:10'],
[45.547999, -73.495463, 'green', '162.9 ¢/Litre
Rolland Therrien / Auteuil
Longueuil
Thu, 06 Jun 2024 18:18'],
[45.538301, -73.480087, 'green', '162.9 ¢/Litre
Rolland Therrien / Du Lac
Longueuil
Thu, 06 Jun 2024 18:18'],
[45.521868, -73.463538, 'green', '162.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Thu, 06 Jun 2024 18:19'],
[45.529366, -73.481586, 'green', '162.9 ¢/Litre
Chambly / Curé Poirier
Longueuil
Thu, 06 Jun 2024 18:17'],
[45.521714, -73.463444, 'green', '161.9 ¢/Litre
Chambly / Jacques Cartier
Longueuil
Thu, 06 Jun 2024 18:16'],
[45.542716, -73.588620, 'green', '161.9 ¢/Litre
De Lorimier / Des Carrières
Rosemont
Fri, 07 Jun 2024 20:01'],
[45.519459, -73.457760, 'green', '161.9 ¢/Litre
Chambly / dés Ormeaux
Longueuil
Thu, 06 Jun 2024 18:17'],
[45.502091, -73.815540, 'green', '161.9 ¢/Litre
Sources / Anselme Lavigne
Dollard-des-Ormeaux
Fri, 07 Jun 2024 01:47'],
[45.511796, -73.439486, 'green', '161.9 ¢/Litre
Chambly / Vauquelin
Saint-Hubert
Thu, 06 Jun 2024 18:24'],
[45.580715, -73.760447, 'green', 'Costco - 159.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Sat, 08 Jun 2024 18:21'],
[45.486921, -73.552297, 'green', 'Costco - 159.9 ¢/Litre
Bridge / Mill
Montréal-Ouest
Sat, 08 Jun 2024 07:50'],
[45.404236, -74.037960, 'green', 'Costco - 159.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Thu, 06 Jun 2024 18:32'],
[45.569115, -73.760742, 'green', 'Costco - 159.9 ¢/Litre
2999 440 ouest
Laval
Sat, 08 Jun 2024 08:06'],
[45.433637, -73.477474, 'green', 'Costco - 159.9 ¢/Litre
Taschereau / Matte
Brossard
Thu, 06 Jun 2024 22:30'],
[45.486768, -73.551440, 'green', 'Costco - 159.0 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Sat, 08 Jun 2024 07:23'],
[45.370650, -73.517754, 'green', 'Costco - 159.0 ¢/Litre
60 bld strabourg
Candiac
Thu, 06 Jun 2024 16:48']];
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+");});");
}
}