/****
* 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.253239, -73.797663);
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.493232, -73.709000, 'red', '
176.9 ¢/Litre
Côte Vertu / Begin
Saint-Laurent
Mon, 24 Jun 2024 10:30'],
[45.561968, -73.605274, 'red', '
176.9 ¢/Litre
St Michel / Crémazie / Michel Ange
Villeray-Saint-Michel
Mon, 24 Jun 2024 12:41'],
[45.443789, -73.647980, 'red', '
176.9 ¢/Litre
St Jacques / St Pierre
Lachine
Mon, 24 Jun 2024 11:30'],
[45.523183, -73.672493, 'red', '
176.9 ¢/Litre
Cote Vertu / Muir
Saint-Laurent
Mon, 24 Jun 2024 22:54'],
[45.435239, -73.489912, 'red', '
176.9 ¢/Litre
Matte / Marie-Victorin / Aut 15 (Sortie 50)
Brossard
Mon, 24 Jun 2024 10:30'],
[45.458151, -73.864134, 'red', '
176.9 ¢/Litre
St-Charles / Du Barry
Kirkland
Mon, 24 Jun 2024 22:54'],
[45.486616, -73.636535, 'red', '
176.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Tue, 25 Jun 2024 16:29'],
[45.497098, -73.624101, 'red', '
176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Tue, 25 Jun 2024 16:30'],
[45.454439, -73.465418, 'red', '
176.9 ¢/Litre
Taschereau / Rome
Brossard
Tue, 25 Jun 2024 16:19'],
[45.437545, -73.691945, 'red', '
176.4 ¢/Litre
32e Ave / Remembrance
Lachine
Mon, 24 Jun 2024 22:00'],
[45.528071, -73.669266, 'red', '
175.9 ¢/Litre
Cote Vertu / Lebeau
Saint-Laurent
Mon, 24 Jun 2024 22:00'],
[45.420024, -73.486377, 'red', '
175.9 ¢/Litre
Taschereau / Balmoral
La Prairie
Mon, 24 Jun 2024 21:30'],
[45.494571, -73.500633, 'red', '
175.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Wed, 26 Jun 2024 11:52'],
[45.467640, -73.538519, 'red', '
175.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Mon, 24 Jun 2024 21:39'],
[45.496101, -73.513824, 'red', '
175.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Wed, 26 Jun 2024 11:00'],
[45.435143, -73.476495, 'red', '
175.9 ¢/Litre
Taschereau / Matte
Brossard
Mon, 24 Jun 2024 23:12'],
[45.509791, -73.687432, 'red', '
175.9 ¢/Litre
Marcel-Laurin / Côte-Vertu
Saint-Laurent
Mon, 24 Jun 2024 21:30'],
[45.474096, -73.609107, 'red', '
175.9 ¢/Litre
Decarie / Sherbrooke
Notre-Dame-de-Grâce
Mon, 24 Jun 2024 12:56'],
[45.486054, -73.633837, 'blue', '
173.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Tue, 25 Jun 2024 16:29'],
[45.485007, -73.632753, 'blue', '
173.9 ¢/Litre
Decarie / Isabella
Côte-des-Neiges
Tue, 25 Jun 2024 16:28'],
[45.518665, -73.698429, 'blue', '
173.9 ¢/Litre
Poirier / Grenet
Saint-Laurent
Mon, 24 Jun 2024 21:00'],
[45.408875, -73.472737, 'blue', '
173.9 ¢/Litre
St-Jean / Champs Fleuris
La Prairie
Mon, 24 Jun 2024 23:11'],
[45.523409, -73.554148, 'blue', '
172.9 ¢/Litre
Papineau / De Maisonneuve
Ville-Marie (Montreal)
Mon, 24 Jun 2024 23:08'],
[45.432706, -73.646336, 'blue', '
172.9 ¢/Litre
Lafleur / Clément
LaSalle
Tue, 25 Jun 2024 16:27'],
[45.439289, -73.621925, 'blue', '
172.9 ¢/Litre
Lapierre / Newman
LaSalle
Tue, 25 Jun 2024 16:28'],
[45.453096, -73.584039, 'blue', '
172.9 ¢/Litre
Woodland / de la Verendrye
Le Sud-Ouest
Mon, 24 Jun 2024 23:14'],
[45.441121, -73.442392, 'blue', '
172.9 ¢/Litre
101-8075 boul. du Quartier
Brossard
Mon, 24 Jun 2024 23:11'],
[45.432549, -73.628853, 'blue', '
172.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Tue, 25 Jun 2024 16:27'],
[45.436609, -73.625192, 'blue', '
172.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.414839, -73.485305, 'blue', '
171.9 ¢/Litre
Ch. St-Jean/du Maire
La Prairie
Mon, 24 Jun 2024 23:10'],
[45.470785, -73.468103, 'blue', '
169.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Wed, 26 Jun 2024 10:30'],
[45.421724, -73.635371, 'blue', '
169.9 ¢/Litre
Airlie / 80e Ave
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.509854, -73.687819, 'blue', '
169.9 ¢/Litre
Marcel-Laurin / Côte-Vertu
Saint-Laurent
Mon, 24 Jun 2024 22:00'],
[45.450633, -73.862039, 'blue', '
169.9 ¢/Litre
St Charles / Aut 40
Kirkland
Mon, 24 Jun 2024 23:21'],
[45.455084, -73.443046, 'blue', '
169.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 25 Jun 2024 16:16'],
[45.431217, -73.618933, 'blue', '
169.9 ¢/Litre
Shevchencko / Jean-Brillon
LaSalle
Tue, 25 Jun 2024 16:26'],
[45.432634, -73.637114, 'blue', '
169.9 ¢/Litre
Dollard / Bédard
LaSalle
Tue, 25 Jun 2024 16:25'],
[45.445923, -73.741216, 'green', '
168.9 ¢/Litre
Dorval / Aut 20
Dorval
Mon, 24 Jun 2024 21:00'],
[45.458915, -73.464943, 'green', '
167.9 ¢/Litre
Taschereau / Mario
Brossard
Tue, 25 Jun 2024 16:19'],
[45.493315, -73.807043, 'green', '
164.9 ¢/Litre
Sources / Churchill
Dollard-des-Ormeaux
Mon, 24 Jun 2024 21:00'],
[45.490275, -73.802855, 'green', '
164.9 ¢/Litre
Sources / Hyman
Dollard-des-Ormeaux
Mon, 24 Jun 2024 21:00'],
[45.486768, -73.551440, 'green', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Wed, 26 Jun 2024 10:00'],
[45.652417, -73.536275, 'green', '
164.9 ¢/Litre
Henri-Bourassa / St Jean Baptiste
Montréal
Mon, 24 Jun 2024 20:30'],
[45.462287, -73.453165, 'green', '
162.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 25 Jun 2024 16:18'],
[45.404236, -74.037960, 'green', 'Costco - 161.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Tue, 25 Jun 2024 16:22'],
[45.371582, -73.515440, 'green', 'Costco - 160.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Wed, 26 Jun 2024 11:00'],
[45.433637, -73.477474, 'green', 'Costco - 160.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 26 Jun 2024 10:00']];
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+");});");
}
}