I’ve just published a small change to the Warhammer map project.
These changes should hopefully improve its performance slightly. It’s still not quick by any means, but I’ve sped it up a small amount.
Changes I’ve made in this regard are to load the various features of the map in small chunks, and not wait for all the scripts and such to download before the map starts to appear.
Other changes include compressing the json files and switching all the images over to .webp instead of .jpg/.png.
I’m not very familiar with improving code performance so these are only basic changes and there is still a lot more to be done. Tom has some ideas so I suspect another update will be released soon enough.
The cluster icons now use a larger sized font and change size depending on how many markers are contained within that cluster.
I’ve updated the coordinate display to be more in keeping with the style of the other map controls too. It is no longer transparent and the corners are rounded instead of square.
The information panels when you hover over a location are also now at 100% opacity instead of being slightly transparent.
Another small change is that to see information about a planet or marker, you’ll need to click on it.
I’d previously put a link to where I’d found a reference to that particular location, but due to the hover over you could never actually click on the link. With the popup you can now click on these links and be taken to the source.
You’ll also notice that I’ve added the planet’s coordinates to the information marker and rearranged the order of some items.
When searching, if you are zoomed out too far, the map will now zoom in on the location. I could have sworn I already had this feature in place but perhaps I’d accidentally removed it at some point.
I’ve updated the help section in the sidebar in line with these changes.
Have I Missed Anything?
If you spot something that is incorrect or needs updating, please do let me know in the comments below.
Alternatively I have a couple of Google Sheets files available for public edits where you can make suggestions.
- Locations – tell me if any planets are in the wrong place, or add new ones to the map
- Timeline – tell me if I have put an event in the wrong order, or I’ve missed someone important