Commit 62d5fc5d authored by barth23's avatar barth23
Browse files

css + update europeMap js

parent 66ffa501
.arch-content-margin{
margin: 0px auto;
margin-top: 25px;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend {
background-color: black;
line-height: 25px;
color: #555;
width: auto;
}
.legend i {
width: 18px;
height: 18px;
float: left;
margin-right: 8px;
opacity: 0.7;
}
\ No newline at end of file
<div data-template="templates:surround" data-template-with="templates/page_index.html" data-template-at="content-container">
<meta charset="utf-8"/>
<link rel="stylesheet" href="templates/css/itinerary.css"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js" integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew==" crossorigin=""/>
<script src="/exist/apps/sade-architrave/templates/paris-project/js/leaflet-providers.js"/>
<script src="https://unpkg.com/georaster"/>
<script src="https://unpkg.com/georaster-layer-for-leaflet/georaster-layer-for-leaflet.browserify.min.js"/>
<style>
.arch-content-margin{
margin: 0px auto;
margin-top: 25px;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend {
background-color: black;
line-height: 25px;
color: #555;
width: auto;
}
.legend i {
width: 18px;
height: 18px;
float: left;
margin-right: 8px;
opacity: 0.7;
}
</style>
<!-- error modal for error messages -->
......@@ -75,7 +49,5 @@
<script src="templates/js/map_integration.js"></script>
</div>
<!--<script src="/exist/apps/sade-architrave/templates/paris-project/js/europeMap.js"/>-->
</div>
</div>
\ No newline at end of file
......@@ -48,17 +48,11 @@ var translation = {
//OnEachFeature Function
function onEachFeature(feature, layer) {
if (lang === "fra") {
//layer.bindPopup(feature.properties.description.fra);
layer.bindPopup('<iframe src="https://adwmainz.pages.gitlab.rlp.net/regesta-imperii/lab/landing/"></iframe>')
layer.on('click', function() { openPlaceName('plc:textgrid:3pfxn') });
layer.setIcon(setMarker(feature.properties.type, feature.properties.color))
}
else if (lang === "de") {
layer.on('click', function() { openPlaceName('plc:textgrid:3pfxn') });
//layer.bindPopup(feature.properties.description.de);
//layer.bindPopup('<iframe src="https://adwmainz.pages.gitlab.rlp.net/regesta-imperii/lab/landing/"></iframe>')
//layer.bindPopup(openPlaceName('plc:textgrid:3pfxn'))
//layer.bindPopup(`<a class="placeName" href="#/" onclick="openPlaceName('plc:textgrid:3pfxn')" textgriduri="('plc:textgrid:3pfxn')"><placename xmlns="http://www.tei-c.org/ns/1.0" type="current" xml:lang="de">Abbeville</placename></a>`)
layer.setIcon(setMarker(feature.properties.type, feature.properties.color))
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment