Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ARCHITRAVE
SADE
Commits
6b46dc94
Commit
6b46dc94
authored
Nov 26, 2020
by
barth23
Browse files
modal component
parent
e10dba3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
templates/itinerary/js/arrowMap.js
View file @
6b46dc94
...
...
@@ -53,13 +53,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:
'
+
feature
.
properties
.
id
)
});
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
else
if
(
lang
===
"
de
"
)
{
//layer.bindPopup(feature.properties.description.de);
layer
.
bindPopup
(
'
<iframe src="https://adwmainz.pages.gitlab.rlp.net/regesta-imperii/lab/landing/"></iframe>
'
)
layer
.
on
(
'
click
'
,
function
()
{
openPlaceName
(
'
plc:
'
+
feature
.
properties
.
id
)
});
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
}
...
...
templates/itinerary/js/europeMap.js
View file @
6b46dc94
...
...
@@ -52,13 +52,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:
'
+
feature
.
properties
.
id
)
});
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
else
if
(
lang
===
"
de
"
)
{
//layer.bindPopup(feature.properties.description.de);
layer
.
bindPopup
(
'
<iframe src="https://adwmainz.pages.gitlab.rlp.net/regesta-imperii/lab/landing/"></iframe>
'
)
layer
.
on
(
'
click
'
,
function
()
{
openPlaceName
(
'
plc:
'
+
feature
.
properties
.
id
)
});
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
}
...
...
templates/itinerary/js/parisMap.js
View file @
6b46dc94
...
...
@@ -44,11 +44,11 @@ var translation = {
//OnEachFeature Function
function
onEachFeature
(
feature
,
layer
)
{
if
(
lang
===
"
fra
"
)
{
layer
.
bindPopup
(
feature
.
properties
.
description
.
fra
);
layer
.
on
(
'
click
'
,
function
()
{
openPlaceName
(
'
plc:
'
+
feature
.
properties
.
id
)
}
);
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
else
if
(
lang
===
"
de
"
)
{
layer
.
bindPopup
(
feature
.
properties
.
description
.
de
);
layer
.
on
(
'
click
'
,
function
()
{
openPlaceName
(
'
plc:
'
+
feature
.
properties
.
id
)
}
);
layer
.
setIcon
(
setMarker
(
feature
.
properties
.
type
,
feature
.
properties
.
color
))
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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