Planning for a map in Monument
: Martin Holmes
Minutes: 620
We’re going to need a map of locations from which people were uprooted, and it would be good to have it for the presentation in August, so I’ve put a page in place, and I’ll be using the new BreezeMap rewrite as the basis for it.
On Wednesday I got the basic map working and the BreezeMap code integrated into the Monument sources, but I haven’t yet started work on the XML needed to generate the JSON we need.
On Thursday, I wrote all the code to incorporate GeoJSON locations in the location data which is stored in the XSLT, and to generate the required GeoJSON for the map to function, using just one location, Victoria. Did a lot of tweaking of the layout etc. to get the map to look fairly optimal. There’s doubtless more to do, but I can now use the map itself to draw the outlines of the regions and add them into the data. Also did a couple more name updates from SI.
On Friday, continued tweaking the appearance and functionality of the map; I discovered that a lot of what appeared to be borked functionality was actually the result of CSS inherited from the main LOI style.css file, which eventually I ended up removing, after having fought to override things for more time than I wanted to. I also added to the Monument CSS to better display the location pages from the main site as they appear when summoned in the map, where they are very narrow and need to work as they would on a phone. Found and fixed a few issues in BreezeMap too.
This will need another rework now that I’ve refactored file and class names in the BreezeMap dev branch, but that’s fairly trivial.