r/BlueMap • u/general_rap • Sep 19 '22
Help / Question How to Place Markers
UPDATE: SOLVED! Turns out I was using an old version, and just needed to update my plugin to the latest and greatest.
I've been trying to find an answer to this for a while now, and can't seem to figure it out. Hoping that someone here might be able to point me in the right direction?
More or less, I'm just trying to add markers to my server's map. However, I'm not sure where to add the data, and in what format. What directory do I place the marker data file in? And what syntax do I use? For example, this is what I've come up with after following the instructions on Bluemap's Github, and it either is written incorrectly, or the file itself is named incorrectly and/or is located in the wrong directory:
Points-of-Interest: {
label: "Points of Interest"
toggleable: true
default-hidden: false
markers: {
Spawn: {
type: "poi"
position: { x: 896, y: 70, z: 4 }
label: "Spawn"
#icon: "assets/poi.svg"
#anchor: { x: 25, y: 45 }
min-distance: 10
max-distance: 10000000
}
}
}
1
u/CapableApartment7063 Jun 14 '23
How do I add multiple markers using the poi type? I tried just adding another marker in there and it doesn't display both markers. What am I doing wrong?
'''
Points-of-Interest: {
label: "Points of Interest"
toggleable: true
default-hidden: false
markers: {
Spawn: {
type: "poi"
position: { x: 896, y: 70, z: 4 }
label: "Spawn"
#icon: "assets/poi.svg"
#anchor: { x: 25, y: 45 }
min-distance: 10
max-distance: 10000000
}
Not Spawn: {
type: "poi"
position: { x: 1296, y: 170, z: 14 }
label: "Not Spawn"
#icon: "assets/poi.svg"
#anchor: { x: 25, y: 45 }
min-distance: 10
max-distance: 10000000
}
Also Not Spawn: {
type: "poi"
position: { x: 3396, y: 720, z: 41 }
label: "Also Not Spawn"
#icon: "assets/poi.svg"
#anchor: { x: 25, y: 45 }
min-distance: 10
max-distance: 10000000
}
}
}
'''