/****
* 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.749593);
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.495759, -73.610051, 'red', '186.9 ¢/Litre
Cote-des-Neiges / Ridgewood
Côte-des-Neiges
Thu, 02 May 2024 13:16'],
[45.481060, -73.578331, 'red', '184.9 ¢/Litre
Notre-Dame / Atwater
Le Sud-Ouest
Thu, 02 May 2024 13:16'],
[45.492127, -73.710676, 'red', '184.9 ¢/Litre
Côte Vertu / Bégin
Saint-Laurent
Thu, 02 May 2024 13:21'],
[45.616908, -73.455931, 'red', '184.9 ¢/Litre
Marie Victorin / De Muy
Boucherville
Thu, 02 May 2024 13:05'],
[45.463308, -73.578714, 'red', '183.9 ¢/Litre
De lEglise / Champlain
Verdun
Thu, 02 May 2024 13:12'],
[45.497098, -73.624101, 'red', '183.9 ¢/Litre
Côte-des-Neiges / Edouard-Montpetit
Côte-des-Neiges
Thu, 02 May 2024 13:12'],
[45.464810, -73.585022, 'red', '183.9 ¢/Litre
La Verendrye / De lÉglise
Le Sud-Ouest
Thu, 02 May 2024 13:12'],
[45.467640, -73.538519, 'red', '183.9 ¢/Litre
Du Commerce / René Lévesque
Île des Soeurs
Thu, 02 May 2024 13:09'],
[45.454885, -73.465571, 'red', '183.9 ¢/Litre
Taschereau / Rome
Brossard
Thu, 02 May 2024 13:10'],
[45.496989, -73.447439, 'red', '183.9 ¢/Litre
Soucy / Maricourt
Saint-Hubert
Thu, 02 May 2024 13:07'],
[45.614041, -73.442844, 'red', '183.9 ¢/Litre
Montbrun / Général Vanier
Boucherville
Thu, 02 May 2024 13:05'],
[45.476861, -73.838663, 'red', '183.9 ¢/Litre
St Jean / Westminster
Dollard-des-Ormeaux
Thu, 02 May 2024 13:21'],
[45.565046, -73.587783, 'blue', '182.9 ¢/Litre
Pie IX / Bélanger
Villeray-Saint-Michel
Thu, 02 May 2024 13:15'],
[45.471666, -73.563345, 'blue', 'Mobil - 182.9 ¢/Litre
3000 Wellington / Gilberte-Dubé / Henri Duhamel
Verdun
Thu, 02 May 2024 13:11'],
[45.470851, -73.564091, 'blue', '182.9 ¢/Litre
Wellington / Gilberte-Dubé / Henri-Duhamel
Verdun
Thu, 02 May 2024 13:11'],
[45.564858, -73.587190, 'blue', '182.4 ¢/Litre
Pie IX / Bélanger
Rosemont
Thu, 02 May 2024 13:15'],
[45.582704, -73.426126, 'blue', '181.9 ¢/Litre
Montarville / Normandie
Boucherville
Thu, 02 May 2024 13:04'],
[45.546297, -73.586458, 'blue', '181.9 ¢/Litre
Rosemont / Iberville
Rosemont
Thu, 02 May 2024 13:15'],
[45.471133, -73.832636, 'blue', '180.9 ¢/Litre
St-Jean / Blue Heaven
Dollard-des-Ormeaux
Thu, 02 May 2024 13:19'],
[45.470420, -73.832197, 'blue', '180.9 ¢/Litre
St Jean / Devon
Dollard-des-Ormeaux
Thu, 02 May 2024 13:19'],
[45.467053, -73.828876, 'blue', '180.9 ¢/Litre
St-Jean / Brunswick
Pointe-Claire
Thu, 02 May 2024 13:19'],
[45.490275, -73.802855, 'blue', '180.9 ¢/Litre
Sources / Hyman
Dollard-des-Ormeaux
Thu, 02 May 2024 13:20'],
[45.493315, -73.807043, 'blue', '180.9 ¢/Litre
Sources / Churchill
Dollard-des-Ormeaux
Thu, 02 May 2024 13:20'],
[45.593235, -73.907617, 'blue', '180.9 ¢/Litre
25ième ave
Saint-Eustache
Thu, 02 May 2024 15:42'],
[45.575530, -73.874862, 'blue', '180.9 ¢/Litre
25e Avenue / St-Laurent
Saint-Eustache
Thu, 02 May 2024 15:42'],
[45.458785, -73.821857, 'blue', '180.9 ¢/Litre
St-Jean / Hymus
Pointe-Claire
Thu, 02 May 2024 13:18'],
[45.514779, -73.719469, 'blue', '179.9 ¢/Litre
Henri-Bourassa / Lafrance
Saint-Laurent
Thu, 02 May 2024 13:17'],
[45.502445, -73.426215, 'blue', '179.9 ¢/Litre
5175 Cousineau / Perras
Saint-Hubert
Thu, 02 May 2024 13:06'],
[45.501483, -73.423506, 'blue', '179.9 ¢/Litre
Cousineau / Montée St-Hubert
Saint-Hubert
Thu, 02 May 2024 13:07'],
[45.501070, -73.632488, 'blue', '179.9 ¢/Litre
Côte-des-Neiges / Van Horne
Côte-des-Neiges
Thu, 02 May 2024 13:14'],
[45.462287, -73.453165, 'blue', '179.9 ¢/Litre
Bergerac / Lapinière / Broadway
Brossard
Thu, 02 May 2024 13:08'],
[45.503734, -73.420799, 'blue', '179.9 ¢/Litre
5335 Ch Chambly / Gelineau
Saint-Hubert
Thu, 02 May 2024 13:07'],
[45.566892, -73.907459, 'blue', '178.9 ¢/Litre
Arthur-Sauvé / Pie-XII / Aut 640
Saint-Eustache
Thu, 02 May 2024 15:41'],
[45.574931, -73.876109, 'blue', 'Belisle - 178.9 ¢/Litre
St-Laurent
Saint-Eustache
Thu, 02 May 2024 15:41'],
[45.607988, -73.584409, 'blue', 'Costco - 178.9 ¢/Litre
Bombardier / Renaude-Lapointe
Anjou
Thu, 02 May 2024 13:17'],
[45.539876, -73.643047, 'blue', '178.9 ¢/Litre
Crémazie / St Urbain
Ahuntsic-Cartierville
Thu, 02 May 2024 13:14'],
[45.554884, -73.668566, 'green', '177.9 ¢/Litre
Henri-Bourassa E / Berri / Lajeunesse
Ahuntsic-Cartierville
Thu, 02 May 2024 13:13'],
[45.486768, -73.551440, 'green', 'Costco - 177.9 ¢/Litre
Bridge / Mill
Le Sud-Ouest
Thu, 02 May 2024 13:10'],
[45.433637, -73.477474, 'green', 'Costco - 175.9 ¢/Litre
Taschereau / Matte
Brossard
Thu, 02 May 2024 11:00'],
[45.575639, -73.892358, 'green', '175.9 ¢/Litre
Antoine-Séguin/rue Dubois
Saint-Eustache
Thu, 02 May 2024 15:42'],
[45.580715, -73.760447, 'green', 'Costco - 174.9 ¢/Litre
2999 Aut.440 Laval/Ave. Jacques-Bureau
Laval
Thu, 02 May 2024 00:38'],
[45.577050, -73.403659, 'green', 'Costco - 174.9 ¢/Litre
635 ch de Touraine
Boucherville
Thu, 02 May 2024 13:03'],
[45.721626, -73.506924, 'green', 'Costco - 174.9 ¢/Litre
870, Montée des Pionniers
Terrebonne
Thu, 02 May 2024 13:14'],
[45.574968, -73.742588, 'green', '174.0 ¢/Litre
Le Corbusier
Laval
Thu, 02 May 2024 10:08'],
[45.475969, -73.361190, 'green', 'Pétrole Maurice - 172.9 ¢/Litre
Chambly / Daniel
Saint-Hubert
Thu, 02 May 2024 07:52'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 172.9 ¢/Litre
8855 Ch de Chambly
Saint-Hubert
Thu, 02 May 2024 07:52'],
[45.475831, -73.361552, 'green', 'Pétrole Maurice - 172.9 ¢/Litre
8855 ch chambly
Longuueil
Thu, 02 May 2024 07:52'],
[45.439112, -73.190249, 'green', 'Pétrole Maurice - 172.9 ¢/Litre
chemin chambly
Saint-Hubert
Thu, 02 May 2024 07:52']];
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+");});");
}
}