-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
562 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
//GEOG 384 - Assignment #2 - Fall 2022 | ||
|
||
var config = { | ||
style: 'mapbox://styles/eliasgco/cl9hf28gq001a14qyy37qz53d', | ||
accessToken: 'pk.eyJ1IjoiZWxpYXNnY28iLCJhIjoiY2w3cWVheno4MDRuMDQwazFrN256MXA0bSJ9.D7e0onD9JDv_CSHtYz7P2g', | ||
showMarkers: false, | ||
markerColor: '#3FB1CE', | ||
theme: 'dark', | ||
use3dTerrain: false, //set true for enabling 3D maps. | ||
title: 'Cool Places to Eat' + String.fromCodePoint(0x1F374)+ 'in Verdun, Montreal', | ||
subtitle: '30 Best Rated Restaurants Located in the Historic Neighborhood!', | ||
byline: 'Tip: Zoom in to see more information about each food place!'+'\n'+ | ||
'Restaurants with higher rating have bigger points' + String.fromCodePoint(0x1f92b) + '\n\n' | ||
+ 'By Eli, Joy, Keyu, and Yanbing', | ||
footer: 'Source: Rating and average prices based on https://www.restomontreal.ca/.', | ||
chapters: [ | ||
{ | ||
id: 'slug-style-id', | ||
alignment: 'right', | ||
hidden: true, | ||
title: '', | ||
description: 'Tip: Zoom in to see more information about each food place!', | ||
location: { | ||
center: [-73.57335, 45.46409], | ||
zoom: 13.25, | ||
pitch: 0, | ||
bearing: 0 | ||
}, | ||
mapAnimation: 'flyTo', | ||
rotateAnimation: false, | ||
onChapterEnter: [ | ||
// { | ||
// layer: 'layer-name', | ||
// opacity: 1, | ||
// duration: 5000 | ||
// } | ||
], | ||
onChapterExit: [ | ||
// { | ||
// layer: 'layer-name', | ||
// opacity: 0 | ||
// } | ||
] | ||
} | ||
], | ||
|
||
|
||
|
||
}; |
Oops, something went wrong.