#Marker Icon img class--how do you assign a different size for markers?

1 messages · Page 1 of 1 (latest)

humble aurora
#

I created a new marker icon png which is 32x32 in size, but dynmap is assigning it a css class of "markerIcon16x16". How can I change it to be "markerIcon32x32"?

night bisonBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

#

(optional) Please upload your configuration.txt to https://pastebin.org and send us the link. BE SURE TO REMOVE PASSWORDS

humble aurora
#

Using v3.5-873

humble aurora
#

I also see in the website folder tiles/_markers_/marker_world.json file that there is a "dim:" setting that looks like it controls the size. How does that get set/changed?

trim breach
#

As far as i can recall markers can only be 16*16

humble aurora
#

I have 2 servers and on one they are 32x32, but I cannot remember how I changed it, so I know it's possible

humble aurora
#

But I don't know how to set that

trim breach
#

Maybe during addmarker you can set the dim?

humble aurora
#

No change

trim breach
#

Then idk, look at the code and maybe you figure something out

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

humble aurora
#

I got it working. You have to shut down the server before you copy over the image file. When you start it back up, then you can use /dmarker addicon or /dmarker updateicon. You also have to redo all your markers with /dmarker update, even if the icon id is the same. The marker is automatically sized at 32x32 if your .png file is that size.

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

night bisonBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.