Skip to content

Commit 0719a5a

Browse files
author
Konstantin Plotnikov
committed
Changed the skybox color for the "change style at load" example
Changed the description for the "Markers with altitude" example Signed-off-by: Konstantin Plotnikov <[email protected]>
1 parent 01a053f commit 0719a5a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

change-style-at-load/data/dark.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ sources:
88
scene:
99
background:
1010
color: global.land_color
11+
sky:
12+
zenith: '#010205'
13+
horizon: '#010205'
14+
fog: '#21262B'
1115

1216
global:
1317
text_font_family: FiraGO

markers-with-altitude/demo.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ <h1>Markers with altitude</h1>
2020
<p>Display markers at different altitudes.</p>
2121
</div>
2222
<p>This example shows the bicyle route at the Yungas Road (also known as the "Death road") in Bolivia. Markers
23-
with the altitude values help to visualise the 3500m of descent for this road.
23+
with the altitude values help to visualise the 3500m of descent for this road. Each marker is located at the altitude
24+
associated with the given route vertex. Markers' icons are assigned a normalized color from red (approx. altitude 4600 meters above see level)
25+
to blue (approx. altitude 1100 meters above see level).
2426
</p>
2527
<div id="map"></div>
2628
<h3>Code</h3>

markers-with-altitude/demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ function onSuccess(result) {
6868

6969
polyline = new H.map.Polyline(lineString, {
7070
style: {
71-
lineWidth: 3,
72-
strokeColor: '#999999'
71+
lineWidth: 2,
72+
strokeColor: '#555555'
7373
}
7474
});
7575

0 commit comments

Comments
 (0)