Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ubezi
web-ausstellung-virtuell.de
Commits
b8ae2536
Commit
b8ae2536
authored
Dec 22, 2017
by
Jonas Heinrich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
animate map zoom-in at start, map controls
parent
d624b929
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
css/main.css
css/main.css
+1
-1
index.html
index.html
+1
-16
No files found.
css/main.css
View file @
b8ae2536
...
...
@@ -10,7 +10,7 @@ body {
height
:
100vh
;
display
:
grid
;
grid-template-rows
:
80px
1
fr
;
grid-template-columns
:
5
0
%
5
0
%
;
grid-template-columns
:
5
5
%
4
5%
;
grid-row-gap
:
0px
;
grid-template-areas
:
"logo navigation"
...
...
index.html
View file @
b8ae2536
...
...
@@ -67,24 +67,9 @@
</content>
</div>
<script>
var
bounds
=
[
[
8.40001
,
49.01194
],
[
8.40855
,
49.01585
]
];
mapboxgl
.
accessToken
=
'
pk.eyJ1Ijoib25ueSIsImEiOiJjajhvdnc1eTgwOTM3MnFudG81MXlpZGJrIn0.lDC0PwJDf704okmeI6w61g
'
;
var
map
=
new
mapboxgl
.
Map
({
container
:
'
map
'
,
style
:
'
mapbox://styles/mapbox/light-v9
'
,
center
:
[
8.4045
,
49.0144
],
zoom
:
17
,
maxBounds
:
bounds
,
pitch
:
40
,
bearing
:
20
});
</script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"
></script>
<script
src=
"js/player.js"
></script>
<script
src=
"js/map.js"
></script>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment