-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
300 lines (300 loc) · 12.5 KB
/
config.js
File metadata and controls
300 lines (300 loc) · 12.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
var config = {
style: 'mapbox://styles/lhx200013/clsiz51dk00gf01pfezb2doam',
accessToken: 'pk.eyJ1IjoibGh4MjAwMDEzIiwiYSI6ImNsbGVydnExMDBna2EzcnFodHd0aHNnc20ifQ.HYYEqVszLRoxQxmP4g2-LA',
showMarkers: false,
markerColor: '#3FB1CE',
//projection: 'equirectangular',
//Read more about available projections here
//https://docs.mapbox.com/mapbox-gl-js/example/projections/
inset: false,
theme: 'dark',
use3dTerrain: false, //set true for enabling 3D maps.
auto: false,
title: 'Star Hotels in Singapore',
subtitle: 'Singapore Midscale & Upscale Hotel Location Profile',
byline: 'By LIU HAIXIAO',
//footer: 'Source: HDB and URA. <br> Created using <a href="https://github.com/mapbox/storytelling" target="_blank">Mapbox Storytelling</a> template.',
chapters: [
{
id: 'first-container',
alignment: 'left',
hidden: false,
//title: 'HOTELS in Singapore',
description: '<h1>HOTELS in Singapore</h1><p>The hotel market in Singapore is diverse and highly developed, reflecting the status as a significant global center for tourism and business.</p><br><p><h2>Wide Range of Options</h2></p><p>Singapore offers a broad selection of accommodations, from luxury five-star hotels to budget inns, catering to the needs and budgets of different visitors. Luxury hotels like Marina Bay Sands, The St. Regis, and The Fullerton Hotel provide top-notch room facilities and services, while budget hotel chains like Hotel 81 and Fragrance Hotel offer affordable lodging options.</p><h2>Unique Locations</h2><p>Many hotels in Singapore boast unique geographical locations, such as being situated along the Singapore River, Marina Bay, or in the heart of shopping districts downtown. These locations not only facilitate exploration of major attractions but also provide memorable urban views.</p><h2>World-Class Service</h2><p>Singapore hotels are known for their high standard of service. Many hotels offer multilingual staff, high-quality dining services, and personalized guest experiences to meet the demands of international visitors.</p><a href="https://www.booking.com/country/sg.en.html?aid=339462&label=msn-j4AF6l1wu46sgRUA9Wa1hQ-80676782278860:tikwd-16777781596:loc-164:neo:mte:lp164:dec:qssingapore%20hotel&utm_campaign=Singapore&utm_medium=cpc&utm_source=bing&utm_term=j4AF6l1wu46sgRUA9Wa1hQ&msclkid=418979c9af7d139ff5b21c0399f73d69"> <strong>Read more</strong></a>',
location: {
center: [103.81350, 1.34941],
zoom: 11.5,
pitch: 0,
bearing: 0
},
mapAnimation: 'flyTo',
rotateAnimation: false,
callback: '',
onChapterEnter: [
{
layer: 'hotel',
opacity: 1,
duration: 1000
},
{
layer: 'tourist',
opacity: 0,
duration: 1000
},
{
layer: 'commercial',
opacity: 0,
duration: 1000
},
{
layer: 'park',
opacity: 0,
duration: 1000
},
{
layer: 'marina',
opacity: 0,
duration: 1000
}
],
onChapterExit: [
{
layer: 'hotel',
opacity: 1
},
{
layer: 'tourist',
opacity: 0
},
{
layer: 'commercial',
opacity: 0
},
{
layer: 'park',
opacity: 0
},
{
layer: 'marina',
opacity: 0
}
]
},
{
id: 'second-container',
alignment: 'left',
hidden: false,
//title: 'Housing provision',
image: './sg.png',
description: '<h1>Hotel Concentration</h1><p>Most of the hotels in Singapore are located in Outram Park, China Town, Raffles Place, City Hall, Little India, etc. The reason for the concentration in the city centre area is closely related to economic, transport, tourism and business activities.</p>',
location: {
center: [103.85315, 1.29677],
zoom: 13.72,
pitch: 0,
bearing: 0,
speed: 2
// flyTo additional controls-
// These options control the flight curve, making it move
// slowly and zoom out almost completely before starting
// to pan.
//speed: 2, // make the flying slow
//curve: 1, // change the speed at which it zooms out
},
mapAnimation: 'flyTo',
rotateAnimation: false,
callback: '',
onChapterEnter: [
{
layer: 'hotel',
opacity: 1,
duration: 1000
},
{
layer: 'tourist',
opacity: 0,
duration: 1000
},
{
layer: 'commercial',
opacity: 0,
duration: 1000
},
{
layer: 'park',
opacity: 0,
duration: 1000
},
{
layer: 'marina',
opacity: 0,
duration: 1000
}
],
onChapterExit: [
{
layer: 'hotel',
opacity: 1
},
{
layer: 'tourist',
opacity: 0
},
{
layer: 'commercial',
opacity: 0
},
{
layer: 'park',
opacity: 0
},
{
layer: 'marina',
opacity: 0
}
],
},
{
id: 'third-container',
alignment: 'right',
hidden: false,
//title: 'Punggol / Senkang',
image: './marina.png',
description: '<h1>Most Expensive Hotel in Singapore</h1><p>Marina Bay Sands is one of Singapores iconic landmarks, designed by the world-renowned architect Moshe Safdie and officially opened in 2010. This integrated resort is located in the heart of Singapore, known for its unique trio of towers and the SkyPark atop them, becoming an indispensable part of Singapores skyline.</p>',
location: {
center: [103.86138, 1.28420],
zoom: 16.63,
pitch: 45,
bearing: 0,
// flyTo additional controls-
// These options control the flight curve, making it move
// slowly and zoom out almost completely before starting
// to pan.
//speed: 2, // make the flying slow
//curve: 1, // change the speed at which it zooms out
},
mapAnimation: 'flyTo',
rotateAnimation: false,
callback: '',
onChapterEnter: [
{
layer: 'hotel',
opacity: 0,
duration: 1000
},
{
layer: 'tourist',
opacity: 0,
duration: 1000
},
{
layer: 'commercial',
opacity: 0.6,
duration: 1000
},
{
layer: 'park',
opacity: 0.6,
duration: 1000
},
{
layer: 'marina',
opacity: 0.3,
duration: 1000
}
],
onChapterExit: [
{
layer: 'hotel',
opacity: 0
},
{
layer: 'tourist',
opacity: 1
},
{
layer: 'commercial',
opacity: 0.6
},
{
layer: 'park',
opacity: 0.6
},
{
layer: 'marina',
opacity: 0.3
}
]
},
{
id: 'forth-container',
alignment: 'right',
hidden: false,
//title: 'Punggol / Senkang',
description: '<h1>Reasons to be the Most Expensive Hotel</h1><p>The hotel is surrounded by numerous commercial facilities and green parks, as well as many world famous tourist attractions such as Merlion Park, Clarke Quay and Sentosa.</p><br><h2>Geographic Location</h2><p>Located in the Marina Bay area, close to the Singapore River and the city center, Marina Bay Sands prime location allows easy access to other major attractions such as Gardens by the Bay, the Singapore Flyer, and Orchard Road. This strategic positioning enhances the tourist experience by providing convenience and connectivity to explore Singapores key sights.</p><h2>Significant Events and Impacts</h2><p>Since its inauguration, Marina Bay Sands has become one of Singapores most iconic tourist destinations, significantly impacting the tourism industry and the international image of Singapore. Attracting visitors worldwide, it has also become the preferred venue for various international conferences and events, further cementing Singapores status as a crucial global hub for conferences and tourism.</p>',
location: {
center: [103.85216, 1.28058],
zoom: 14.93,
pitch: 55.5,
bearing: -13.6,
// flyTo additional controls-
// These options control the flight curve, making it move
// slowly and zoom out almost completely before starting
// to pan.
//speed: 2, // make the flying slow
//curve: 1, // change the speed at which it zooms out
},
mapAnimation: 'flyTo',
rotateAnimation: false,
callback: '',
onChapterEnter: [
{
layer: 'hotel',
opacity: 0,
duration: 1000
},
{
layer: 'tourist',
opacity: 1,
duration: 1000
},
{
layer: 'commercial',
opacity: 0.8,
duration: 1000
},
{
layer: 'park',
opacity: 0.8,
duration: 1000
},
{
layer: 'marina',
opacity: 0.3,
duration: 1000
}
],
onChapterExit: [
{
layer: 'hotel',
opacity: 0
},
{
layer: 'tourist',
opacity: 1
},
{
layer: 'commercial',
opacity: 1
},
{
layer: 'park',
opacity: 1
},
{
layer: 'marina',
opacity: 0.3
}
]
}
]
};