/****
* 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.391592, -73.961292);
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.561968, -73.605274, 'red', '176.9 ¢/Litre
St Michel / Crémazie / Michel Ange
Villeray-Saint-Michel
Mon, 24 Jun 2024 12:41'],
[45.439289, -73.621925, 'red', '176.9 ¢/Litre
Lapierre / Newman
LaSalle
Mon, 24 Jun 2024 23:14'],
[45.493232, -73.709000, 'red', '176.9 ¢/Litre
Côte Vertu / Begin
Saint-Laurent
Mon, 24 Jun 2024 10:30'],
[45.580022, -73.788257, 'red', '176.9 ¢/Litre
480 Blvd Curé Labelle / Blvd Dagenais
Laval
Mon, 24 Jun 2024 10:30'],
[45.522289, -73.800392, 'red', '176.9 ¢/Litre
Samson / Notre Dame
Laval
Mon, 24 Jun 2024 11:00'],
[45.458151, -73.864134, 'red', '176.9 ¢/Litre
St-Charles / Du Barry
Kirkland
Mon, 24 Jun 2024 22:54'],
[45.523183, -73.672493, 'red', '176.9 ¢/Litre
Cote Vertu / Muir
Saint-Laurent
Mon, 24 Jun 2024 22:54'],
[45.486616, -73.636535, 'red', '176.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Mon, 24 Jun 2024 22:55'],
[45.443789, -73.647980, 'red', '176.9 ¢/Litre
St Jacques / St Pierre
Lachine
Mon, 24 Jun 2024 11:30'],
[45.437545, -73.691945, 'red', '176.4 ¢/Litre
32e Ave / Remembrance
Lachine
Mon, 24 Jun 2024 22:00'],
[45.474096, -73.609107, 'red', '175.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 24 Jun 2024 12:56'],
[45.528071, -73.669266, 'red', '175.9 ¢/Litre
Cote Vertu / Lebeau
Saint-Laurent
Mon, 24 Jun 2024 22:00'],
[45.509791, -73.687432, 'red', '175.9 ¢/Litre
Marcel-Laurin / Côte-Vertu
Saint-Laurent
Mon, 24 Jun 2024 21:30'],
[45.467640, -73.538519, 'red', '175.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Mon, 24 Jun 2024 21:39'],
[45.436609, -73.625192, 'red', '174.9 ¢/Litre
Newman / Thierry
LaSalle
Mon, 24 Jun 2024 23:13'],
[45.571185, -73.913286, 'blue', '173.9 ¢/Litre
Arthur-Sauvé/Grignon (Hôpital
Saint-Eustache
Mon, 24 Jun 2024 10:26'],
[45.518665, -73.698429, 'blue', '173.9 ¢/Litre
Poirier / Grenet
Saint-Laurent
Mon, 24 Jun 2024 21:00'],
[45.593235, -73.907617, 'blue', '173.9 ¢/Litre
25ième ave
Saint-Eustache
Mon, 24 Jun 2024 10:27'],
[45.575639, -73.892358, 'blue', '173.9 ¢/Litre
Antoine-Séguin/rue Dubois
Saint-Eustache
Mon, 24 Jun 2024 10:27'],
[45.573392, -73.913867, 'blue', '173.9 ¢/Litre
Boul Sauvé/Boul. Industriel
Saint-Eustache
Mon, 24 Jun 2024 10:26'],
[45.568407, -73.887552, 'blue', '173.9 ¢/Litre
Saint-Laurent / boul. goyer
Saint-Eustache
Mon, 24 Jun 2024 10:25'],
[45.453096, -73.584039, 'blue', '172.9 ¢/Litre
Woodland / de la Verendrye
Le Sud-Ouest
Mon, 24 Jun 2024 23:14'],
[45.523409, -73.554148, 'blue', '172.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Mon, 24 Jun 2024 23:08'],
[45.432549, -73.628853, 'blue', '172.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Mon, 24 Jun 2024 12:55'],
[45.431217, -73.618933, 'blue', '171.9 ¢/Litre
Shevchencko / Jean-Brillon
LaSalle
Mon, 24 Jun 2024 12:53'],
[45.552447, -73.893806, 'blue', '171.9 ¢/Litre
7 chemin dOka
Saint-Eustache
Mon, 24 Jun 2024 10:27'],
[45.574931, -73.876109, 'blue', 'Belisle - 170.9 ¢/Litre
St-Laurent
Saint-Eustache
Sun, 23 Jun 2024 09:22'],
[45.450633, -73.862039, 'blue', '169.9 ¢/Litre
St Charles / Aut 40
Kirkland
Mon, 24 Jun 2024 23:21'],
[45.509854, -73.687819, 'blue', '169.9 ¢/Litre
Marcel-Laurin / Côte-Vertu
Saint-Laurent
Mon, 24 Jun 2024 22:00'],
[45.445923, -73.741216, 'blue', '168.9 ¢/Litre
Dorval / Aut 20
Dorval
Mon, 24 Jun 2024 21:00'],
[45.652417, -73.536275, 'green', '164.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Mon, 24 Jun 2024 20:30'],
[45.490275, -73.802855, 'green', '164.9 ¢/Litre
Sources / Hyman
Dollard-des-Ormeaux
Mon, 24 Jun 2024 21:00'],
[45.493315, -73.807043, 'green', '164.9 ¢/Litre
Sources / Churchill
Dollard-des-Ormeaux
Mon, 24 Jun 2024 21:00'],
[45.580715, -73.760447, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Mon, 24 Jun 2024 21:38'],
[45.560162, -73.726882, 'green', '150.0 ¢/Litre
Le Corbusier / Souvenir
Laval
Sat, 22 Jun 2024 08:34']];
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+");});");
}
}