You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Outposts are currently rendered above towns on Dynmap, which seems wrong: Towns should overlay their outposts, not the other way around.
Since these are all on the same layer, changing layerprio won't solve this; I'm guess what is instead needed, is to draw the outpost markers before you draw the town markers. Presumably, the order should be as follows, from first-to-be-drawn (the bottom) to last-to-be-drawn (the top):
Ruin outposts (can't remember if these are a thing)
Camps
Town outposts
Ruins
Towns
Nation capitals
Within each group, the newest entries should be rendered first (the bottom), so that the oldest, most-established towns overlay the newcomers.
(I was on the fence about whether to report this as a bug or as a feature request. It's kind of both?)
What steps will reproduce the problem?
Have Towny, Towny-Dynmap, and Dynmap on a server
Have a town with an outpost that is very close-by to it
Open the map in a browser
What is the expected output?
Towny version
0.100.1.0
Server version
Paper version git-Paper-411 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 6625db3 on ver/1.17.1)
Please use Pastebin.com to link the following files
Your full server startup from the logs\latest.log: Not relevant, so not going through the trouble of gisting it.
There was a discussion in Discord about this; I figured I'd put the gist of that here, so that onlookers have more context:
There doesn't seem to me to be a reliable way of setting render order of markers within the same layer in Dynmap, so this may not actually be doable without splitting the Towny layer into several different layers (which has advantages, but clutters the layer list). It was suggested by one person to look at how TownyProvinces does things, since it may have already solved this issue.
Description of the problem
Outposts are currently rendered above towns on Dynmap, which seems wrong: Towns should overlay their outposts, not the other way around.
Since these are all on the same layer, changing
layerprio
won't solve this; I'm guess what is instead needed, is to draw the outpost markers before you draw the town markers. Presumably, the order should be as follows, from first-to-be-drawn (the bottom) to last-to-be-drawn (the top):Within each group, the newest entries should be rendered first (the bottom), so that the oldest, most-established towns overlay the newcomers.
(I was on the fence about whether to report this as a bug or as a feature request. It's kind of both?)
What steps will reproduce the problem?
What is the expected output?
Towny version
0.100.1.0
Server version
Paper version
git-Paper-411
(MC:1.17.1
) (Implementing API version1.17.1-R0.1-SNAPSHOT
) (Git:6625db3
onver/1.17.1
)Please use Pastebin.com to link the following files
The text was updated successfully, but these errors were encountered: