Log in

HCMC Journal

Updates to BreezeMap

to : Martin Holmes
Minutes: 250

Prompted by DA’s work with OpenLayers, I updated BreezeMap to use the latest OpenLayers release, and took the opportunity to look at a bug in the timeline display that was showing up in the Campus Map test map; it turned out to be caused by an error in the input data. I also addressed a ticket from GN from a couple of years ago asking for version information to be retrievable from the hol object; that’s easily doable for the HCMC codebase, but not for OL itself, which no longer provides a method for retrieving build or version info at run time.

The following day, I addressed two separate tickets. One is about using HTML templates, but is a bit problematic and I don’t yet have a path to follow for that one. The other involved abstracting hard-coded CSS property values from the JS so that they can be overridden in end-user CSS, and I’ve now completed that one. In the process, I fixed a couple of other display issues, and another data bug. URLs for most of the campus building external pages will still need to be checked and updated.

One of the display issues involved a z-index issue, where I needed to raise a slide-in display div above another page element. PS suggested z-index: calc(infinity), which remarkably enough is legal, and it works; it sets the z-index to the largest possible number, which is a 32-bit integer. This approach is marginally better than guessing at some massive number.