Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ubezi
web-ausstellung-virtuell.de
Commits
842d780d
Commit
842d780d
authored
Jan 21, 2018
by
Jonas Heinrich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added custom geojson file for museum building
parent
6769ff11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
js/map.js
js/map.js
+15
-0
No files found.
js/map.js
View file @
842d780d
...
@@ -107,4 +107,19 @@ map.on('load', function() {
...
@@ -107,4 +107,19 @@ map.on('load', function() {
}
}
},
labelLayerId
);
},
labelLayerId
);
map
.
addLayer
({
'
id
'
:
'
room-extrusion
'
,
'
type
'
:
'
fill-extrusion
'
,
'
source
'
:
{
'
type
'
:
'
geojson
'
,
'
data
'
:
'
geojson/museum.geojson
'
},
'
paint
'
:
{
'
fill-extrusion-color
'
:
[
'
get
'
,
'
color
'
],
'
fill-extrusion-height
'
:
[
'
get
'
,
'
height
'
],
'
fill-extrusion-base
'
:
[
'
get
'
,
'
base_height
'
],
'
fill-extrusion-opacity
'
:
0.5
}
});
});
});
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