A very quick update on maps
Added 2019-08-18 11:43:30 +0000 UTCHullo all! This is a quick update. Attached (and live on writing.dog) is a revision of the map rendering engine based on some quick tweaks I made yesterday afternoon, some of which are to make things easier for me and some of which are to make them easier for you :P To wit:
- I described the "overlays" feature as "undocumented"; it is now documented.
- Overlays now bring up a legend, which you should be able to see here
- I fixed a bug where URL variables weren't being saved, so if you send a link to someone it should (ideally) load for them exactly as it loads for you (this isn't exactly the case, but it will be pretty close in most instances)
- I fixed a bug where label size was being ignored in the labeling system, which should hopefully also improve the collision problems. This was not really visible on the Cannon Shoals map but it was quite bad on the BNW one.
- I've moved the styles out to an external stylesheet so I don't have to keep tweaks up to date between the different maps
- I cleaned up the HTML so that it's easier to tell what you need to update to make your maps work
- Also, I've reworked how I handle the texture sizing, which effectively reduces the memory requirements and improves the overall rendering speed. For Cannon Shoals, this resulted in a ~2x improvement in speed with terrain smoothing off, and a 5x improvement with terrain smoothing on. As far as I can tell, there is no loss in visual quality, so I'm going to stick with this.
Don't worry, all the rest of the bugs are still there :)