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
e3e517dc
Commit
e3e517dc
authored
Aug 29, 2024
by
Alfakhori
Browse files
Update public/index2.html, public/data/pins.csv
parent
6ea67c45
Pipeline
#10087
passed with stage
in 6 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/data/pins.csv
View file @
e3e517dc
lat,lng,name,color,marker_type
lat,lng,name,color,marker_type
48.773330,9.181970,Muhammad's first study area,#0000ff,
type1
48.773330,9.181970,Muhammad's first study area,#0000ff,
muhammad
48.780000,9.175000,Another study area,#ff0000,type2
48.780000,9.175000,Another study area,#ff0000,type2
public/index2.html
View file @
e3e517dc
...
@@ -33,38 +33,38 @@
...
@@ -33,38 +33,38 @@
// Define custom icons for different marker types
// Define custom icons for different marker types
const
icons
=
{
const
icons
=
{
type1
:
L
.
icon
({
muhammad
:
L
.
icon
({
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
}),
}),
type2
:
L
.
icon
({
type2
:
L
.
icon
({
iconUrl
:
'
images/marker-type2
.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad
.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
}),
}),
type3
:
L
.
icon
({
type3
:
L
.
icon
({
iconUrl
:
'
images/marker-type3
.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad
.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
}),
}),
type4
:
L
.
icon
({
type4
:
L
.
icon
({
iconUrl
:
'
images/marker-type4
.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad
.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
}),
}),
type5
:
L
.
icon
({
type5
:
L
.
icon
({
iconUrl
:
'
images/marker-type5
.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad
.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
}),
}),
type6
:
L
.
icon
({
type6
:
L
.
icon
({
iconUrl
:
'
images/marker-type6
.png
'
,
iconUrl
:
'
https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/images/muhammad
.png
'
,
iconSize
:
[
32
,
32
],
iconSize
:
[
32
,
32
],
iconAnchor
:
[
16
,
32
],
iconAnchor
:
[
16
,
32
],
popupAnchor
:
[
0
,
-
32
]
popupAnchor
:
[
0
,
-
32
]
...
...
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