/****
* 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.450041, -73.866264);
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.486616, -73.636535, 'red', '
176.9 ¢/Litre
Decarie / Dupuis / Cote Ste Catherine
Côte-des-Neiges
Tue, 25 Jun 2024 17:29'],
[45.454439, -73.465418, 'red', '
176.9 ¢/Litre
Taschereau / Rome
Brossard
Tue, 25 Jun 2024 17:19'],
[45.497098, -73.624101, 'red', '
176.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Tue, 25 Jun 2024 17:30'],
[45.496101, -73.513824, 'red', '
175.9 ¢/Litre
Riverside / Edison
Saint-Lambert
Wed, 26 Jun 2024 12:00'],
[45.494571, -73.500633, 'red', '
175.9 ¢/Litre
Sir Wilfrid Laurier / Victoria / St Louis
Saint-Lambert
Wed, 26 Jun 2024 12:52'],
[45.512580, -73.499581, 'red', '
175.9 ¢/Litre
Taschereau / Ste Foy
Longueuil
Wed, 26 Jun 2024 12:53'],
[45.524007, -73.495670, 'red', 'Ekonogaz - 174.9 ¢/Litre
Ste-Foy / Emma
Longueuil
Wed, 26 Jun 2024 12:52'],
[45.485007, -73.632753, 'red', '
173.9 ¢/Litre
Decarie / Isabella
Côte-des-Neiges
Tue, 25 Jun 2024 17:28'],
[45.486054, -73.633837, 'red', '
173.9 ¢/Litre
Décarie / Edouard Montpetit / Lacombe
Côte-des-Neiges
Tue, 25 Jun 2024 17:29'],
[45.560186, -73.887346, 'red', '
173.9 ¢/Litre
22 Boul Arthur-Sauvé & Rue St-Louis
Saint-Eustache
Tue, 25 Jun 2024 11:11'],
[45.596853, -73.522632, 'red', '
173.9 ¢/Litre
Hochelaga / St-Émile / Lapointe
Hochelaga-Maisonneuve
Tue, 25 Jun 2024 17:09'],
[45.598602, -73.552882, 'blue', '
173.6 ¢/Litre
Louis-H-Lafontaine / Aut 25 / Beaubien
Anjou
Tue, 25 Jun 2024 16:00'],
[45.439289, -73.621925, 'blue', '
172.9 ¢/Litre
Lapierre / Newman
LaSalle
Tue, 25 Jun 2024 17:28'],
[45.432706, -73.646336, 'blue', '
172.9 ¢/Litre
Lafleur / Clément
LaSalle
Tue, 25 Jun 2024 17:27'],
[45.432549, -73.628853, 'blue', '
172.9 ¢/Litre
8390 BOUL NEWMAN
LaSalle
Tue, 25 Jun 2024 17:27'],
[45.436609, -73.625192, 'blue', '
172.9 ¢/Litre
Newman / Thierry
LaSalle
Tue, 25 Jun 2024 17:26'],
[45.574931, -73.876109, 'blue', 'Belisle - 172.9 ¢/Litre
St-Laurent
Saint-Eustache
Tue, 25 Jun 2024 11:11'],
[45.536265, -73.513074, 'blue', '
172.9 ¢/Litre
St-Charles / St-Sylvestre
Longueuil
Wed, 26 Jun 2024 12:30'],
[45.481980, -73.464589, 'blue', '
169.9 ¢/Litre
Taschereau / Adam
Greenfield Park
Wed, 26 Jun 2024 12:00'],
[45.455084, -73.443046, 'blue', '
169.9 ¢/Litre
Chevrier / Lapinière / Aut 10 (Sortie 11)
Brossard
Tue, 25 Jun 2024 17:16'],
[45.470785, -73.468103, 'blue', '
169.9 ¢/Litre
Taschereau / Lapiniére
Brossard
Wed, 26 Jun 2024 11:30'],
[45.431217, -73.618933, 'blue', '
169.9 ¢/Litre
Shevchencko / Jean-Brillon
LaSalle
Tue, 25 Jun 2024 17:26'],
[45.432634, -73.637114, 'blue', '
169.9 ¢/Litre
Dollard / Bédard
LaSalle
Tue, 25 Jun 2024 17:25'],
[45.421724, -73.635371, 'blue', '
169.9 ¢/Litre
Airlie / 80e Ave
LaSalle
Tue, 25 Jun 2024 17:26'],
[45.458915, -73.464943, 'green', '
167.9 ¢/Litre
Taschereau / Mario
Brossard
Tue, 25 Jun 2024 17:19'],
[45.486768, -73.551440, 'green', 'Costco - 164.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Wed, 26 Jun 2024 11:00'],
[45.607988, -73.584409, 'green', 'Costco - 164.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Tue, 25 Jun 2024 15:00'],
[45.721453, -73.508422, 'green', 'Costco - 162.9 ¢/Litre
des Pionniers / Yves-Blais
Terrebonne
Wed, 26 Jun 2024 11:00'],
[45.580715, -73.760447, 'green', 'Costco - 162.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Tue, 25 Jun 2024 17:49'],
[45.462287, -73.453165, 'green', '
162.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Tue, 25 Jun 2024 17:18'],
[45.404236, -74.037960, 'green', 'Costco - 161.9 ¢/Litre
St-Charles / Dunberry
Vaudreuil-Dorion
Tue, 25 Jun 2024 17:22'],
[45.433637, -73.477474, 'green', 'Costco - 160.9 ¢/Litre
Taschereau / Matte
Brossard
Wed, 26 Jun 2024 11:00'],
[45.371582, -73.515440, 'green', 'Costco - 160.9 ¢/Litre
Strasbourg / Sardaigne
Candiac
Wed, 26 Jun 2024 12: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+");});");
}
}