Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HIRE Promotionskolleg Team
Study Areas Map
Commits
ba4cc9e5
Commit
ba4cc9e5
authored
7 months ago
by
Alfakhori
Browse files
Options
Download
Email Patches
Plain Diff
Update public/index.html
parent
6e17549c
Pipeline
#10073
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+1
-2
public/index.html
with
1 addition
and
2 deletions
+1
-2
public/index.html
+
1
-
2
View file @
ba4cc9e5
...
...
@@ -49,10 +49,9 @@
results
.
data
.
forEach
(
pin
=>
{
if
(
pin
.
lat
&&
pin
.
lng
&&
pin
.
name
&&
pin
.
color
)
{
const
marker
=
L
.
marker
([
parseFloat
(
pin
.
lat
),
parseFloat
(
pin
.
lng
)],
{
title
:
pin
.
name
,
icon
:
L
.
divIcon
({
className
:
'
custom-pin
'
,
html
:
`<div style="background-color:
${
pin
.
color
}
;" class="pin"></div>`
html
:
`<div style="background-color:
${
pin
.
color
}
;" class="pin"
title="
${
pin
.
name
}
"
></div>`
})
}).
addTo
(
map
);
...
...
This diff is collapsed.
Click to expand it.
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